Changeset 125 for trunk/src/kernel32/os2util.cpp
- Timestamp:
- Jun 19, 1999, 7:58:50 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/os2util.cpp
r123 r125 1 /* $Id: os2util.cpp,v 1. 4 1999-06-19 13:57:51sandervl Exp $ */1 /* $Id: os2util.cpp,v 1.5 1999-06-19 17:58:32 sandervl Exp $ */ 2 2 3 3 /* … … 284 284 } 285 285 //****************************************************************************** 286 //****************************************************************************** 286 //Allocate local thread memory 287 //****************************************************************************** 288 ULONG OS2AllocThreadLocalMemory(int nrdwords) 289 { 290 APIRET rc; 291 PULONG thrdaddr; 292 293 rc = DosAllocThreadLocalMemory(nrdwords, &thrdaddr); 294 if(rc) { 295 dprintf(("DosAllocThreadLocalMemory failed %d", rc)); 296 return 0; 297 } 298 return (ULONG)thrdaddr; 299 } 300 //****************************************************************************** 301 //****************************************************************************** 302
Note:
See TracChangeset
for help on using the changeset viewer.