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

version 1.1, 2005/04/01 15:35:49 version 1.2, 2006/12/24 00:52:30
Line 1 Line 1
   
   #ifdef STRICT
   #define SUBCLASSPROC    WNDPROC
   #else
   #define SUBCLASSPROC    FARPROC
   #endif
   
   #if defined(_WIN64)
   #define GetWindowInst(h)        (HINSTANCE)GetWindowLongPtr((h), GWLP_HINSTANCE)
   #define GetWindowProc(h)        (SUBCLASSPROC)GetWindowLongPtr((h), GWLP_WNDPROC)
   #define SetWindowProc(h, f)     SetWindowLongPtr((h), GWLP_WNDPROC, (LONG)(f))
   #else
   #define GetWindowInst(h)        (HINSTANCE)GetWindowLong((h), GWL_HINSTANCE)
   #define GetWindowProc(h)        (SUBCLASSPROC)GetWindowLong((h), GWL_WNDPROC)
   #define SetWindowProc(h, f)     SetWindowLong((h), GWL_WNDPROC, (LONG)(f))
   #endif
   
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif

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


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