Changeset 21302 for trunk/src/kernel32/oslibmisc.cpp
- Timestamp:
- Jun 18, 2009, 11:53:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/oslibmisc.cpp
r10606 r21302 24 24 #include "oslibmisc.h" 25 25 #include <misc.h> 26 #include <heapstring.h>27 26 28 27 #define DBG_LOCALLOG DBG_oslibmisc 29 28 #include "dbglocal.h" 30 31 typedef APIRET ( APIENTRY *PFN_IMSETMSGQUEUEPROPERTY )( HMQ, ULONG );32 33 PFN_IMSETMSGQUEUEPROPERTY pfnImSetMsgQueueProperty = NULL;34 29 35 30 //****************************************************************************** … … 344 339 //****************************************************************************** 345 340 //****************************************************************************** 346 ULONG OSLibImSetMsgQueueProperty( ULONG hmq, ULONG ulFlag ) 347 { 348 USHORT sel; 349 APIRET rc; 350 351 if( !pfnImSetMsgQueueProperty ) 352 return 1; 353 354 sel = RestoreOS2FS(); 355 rc = pfnImSetMsgQueueProperty( hmq, ulFlag ); 356 SetFS( sel ); 357 358 return rc; 359 } 360 //****************************************************************************** 361 //****************************************************************************** 362 341 void OSLibSetBeginLibpath(char *lpszBeginlibpath) 342 { 343 DosSetExtLIBPATH(lpszBeginlibpath, BEGIN_LIBPATH); 344 } 345 //****************************************************************************** 346 //****************************************************************************** 347 void OSLibQueryBeginLibpath(char *lpszBeginlibpath, int size) 348 { 349 DosQueryExtLIBPATH(lpszBeginlibpath, BEGIN_LIBPATH); 350 } 351 //****************************************************************************** 352 //****************************************************************************** 353
Note:
See TracChangeset
for help on using the changeset viewer.