Diff for /np2/win9x/win32sub.h between versions 1.2 and 1.4

version 1.2, 2006/12/24 00:52:30 version 1.4, 2007/01/10 14:43:36
Line 5 Line 5
 #define SUBCLASSPROC    FARPROC  #define SUBCLASSPROC    FARPROC
 #endif  #endif
   
 #if defined(_WIN64)  // for VC6SDK
 #define GetWindowInst(h)        (HINSTANCE)GetWindowLongPtr((h), GWLP_HINSTANCE)  #if !defined(_WIN64)
 #define GetWindowProc(h)        (SUBCLASSPROC)GetWindowLongPtr((h), GWLP_WNDPROC)  #ifndef LONG_PTR
 #define SetWindowProc(h, f)     SetWindowLongPtr((h), GWLP_WNDPROC, (LONG)(f))  #define LONG_PTR                        LONG
 #else  #endif
 #define GetWindowInst(h)        (HINSTANCE)GetWindowLong((h), GWL_HINSTANCE)  #ifndef GetWindowLongPtr
 #define GetWindowProc(h)        (SUBCLASSPROC)GetWindowLong((h), GWL_WNDPROC)  #define GetWindowLongPtr        GetWindowLong
 #define SetWindowProc(h, f)     SetWindowLong((h), GWL_WNDPROC, (LONG)(f))  #endif
   #ifndef SetWindowLongPtr
   #define SetWindowLongPtr        SetWindowLong
   #endif
   #ifndef GWLP_WNDPROC
   #define GWLP_WNDPROC            GWL_WNDPROC
   #endif
   #ifndef GWLP_HINSTANCE
   #define GWLP_HINSTANCE          GWL_HINSTANCE
   #endif
   #ifndef GWLP_HWNDPARENT
   #define GWLP_HWNDPARENT         GWL_HWNDPARENT
   #endif
   #ifndef GWLP_USERDATA
   #define GWLP_USERDATA           GWL_USERDATA
   #endif
   #ifndef GWLP_ID
   #define GWLP_ID                         GWL_ID
   #endif
 #endif  #endif
   
   #define LOADSTRING                      LoadString
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif
   
 void __msgbox(const char *title, const char *msg);  void __msgbox(const char *title, const char *msg);
   int loadstring2(HINSTANCE hInstance, UINT uID,
                                                                                   LPTSTR lpBuffer, int nBufferMax);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Removed from v.1.2  
changed lines
  Added in v.1.4


RetroPC.NET-CVS <cvs@retropc.net>