Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
598 B

#define SETWINDOWPOINTER(hwnd, name, p) SetWindowLongPtr(hwnd, 0, (LONG_PTR)p)
#define GETWINDOWPOINTER(hwnd, name) ((name)GetWindowLongPtr(hwnd, 0))
#define ALLOCWINDOWPOINTER(name, size) ((name)LocalAlloc(LPTR, size))
#define FREEWINDOWPOINTER(p) LocalFree((HLOCAL)p)
#define GETWINDOWID(hwnd) GetWindowLong(hwnd, GWLP_ID)
#define DRAGSIZECLASSNAME TEXT("DragSizeWindow")
BOOL FAR PASCAL InitDragSizeClass(void);
#define DSM_DRAGPOS (WM_USER)
#define DSN_BEGINDRAG (0)
#define DSN_DRAGGING (1)
#define DSN_ENDDRAG (2)
#define DSN_NCCREATE (3)