Ignore:
Timestamp:
Jun 18, 2009, 6:27:45 PM (16 years ago)
Author:
ydario
Message:

Minor updates, backout imm changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/oslibmisc.cpp

    r21302 r21308  
    2828#include "dbglocal.h"
    2929
     30typedef APIRET ( APIENTRY *PFN_IMSETMSGQUEUEPROPERTY )( HMQ, ULONG );
     31
     32PFN_IMSETMSGQUEUEPROPERTY pfnImSetMsgQueueProperty = NULL;
     33
    3034//******************************************************************************
    3135//TODO: not reentrant!
     
    351355//******************************************************************************
    352356//******************************************************************************
    353 
     357ULONG OSLibImSetMsgQueueProperty( ULONG hmq, ULONG ulFlag )
     358{
     359    USHORT sel;
     360    APIRET rc;
     361
     362    if( !pfnImSetMsgQueueProperty )
     363        return 1;
     364
     365    sel = RestoreOS2FS();
     366    rc = pfnImSetMsgQueueProperty( hmq, ulFlag );
     367    SetFS( sel );
     368
     369    return rc;
     370}
     371//******************************************************************************
     372//******************************************************************************
     373
Note: See TracChangeset for help on using the changeset viewer.