Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

40 lines
825 B

/*
OURMAC.H
Capone for the mac definitions to make things like ole compile
*/
#ifndef __ourmac_h__
#define __ourmac_h__
extern HINSTANCE hinstExe;
// Mac/Windows conditionals
/* The window rect of the destop window is screwed on multimonitored
macs. GetSystemMetrics only gets the main screen. */
#define GetDesktopRect(prc) GetWindowRect(GetDesktopWindow(), (prc))
#define MAC_FILLER_FUNCTION_
#define MAC_BEGIN_INTERFACE
#ifndef BEGIN_INTERFACE
#define BEGIN_INTERFACE
#endif
#define Com_RegDragDrop(_hwnd, _pdt) RegisterDragDrop(_hwnd, _pdt)
#define Com_RevokeDragDrop(_hwnd) RevokeDragDrop(_hwnd)
#define HWND_CONVERT(_hwnd) (_hwnd)
#define RECT_CONVERT(_prectwin) (_prectwin)
#define MAC_HDC(_hdc) (_hdc)
#define MAC_FARALLOC
#define GreyMacDialog(__hwndDlg, __msg, __wparam)
#endif //__ourmac_h__