Ignore:
Timestamp:
Aug 16, 1999, 2:40:48 AM (26 years ago)
Author:
hugh
Message:

Changed to use ODINCRT macros to preserve FS, but still does crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/os2DDWindow.cpp

    r210 r503  
    11#define INCL_WIN
    22#include <os2wrap.h>
     3#include <odincrt.h>
     4#include <odinwrap.h>
    35#include "os2DDWindow.h"
    46
     
    810extern VOID SwitchDisplay(HWND hwnd);
    911
    10 BOOL OS2DdSubClassWindow(HWND hwndClient)
     12ODINFUNCTION1(BOOL , OS2DdSubClassWindow ,HWND, hwndClient)
    1113{
    1214  HWND hwndParent;
     
    3537{
    3638  USHORT usFlags;
     39
     40  ODIN_FS_BEGIN
     41
    3742  switch(ulMsg)
    3843  {
     
    5964      break;
    6065  }
     66
     67  ODIN_FS_END
     68
    6169  return pfnOrgClientProc(hwnd, ulMsg, mp1,mp2);
    6270}
Note: See TracChangeset for help on using the changeset viewer.