|
|
1.1 ! root 1: /******************************************************************************\ ! 2: * ! 3: * COMMON.H ! 4: * ! 5: \******************************************************************************/ ! 6: ! 7: ! 8: /******************************************************************************\ ! 9: * SYMBOLIC CONSTANTS ! 10: \******************************************************************************/ ! 11: ! 12: #define ARC 0x00000001 ! 13: #define ELLIPSE 0x00000002 ! 14: #define LINETO 0x00000004 ! 15: #define PIE 0x00000008 ! 16: #define PLG_BLT 0x00000010 ! 17: #define POLYBEZIER 0x00000020 ! 18: #define POLYGON 0x00000040 ! 19: #define POLYLINE 0x00000080 ! 20: #define POLYPOLYGON 0x00000100 ! 21: #define RECTANGLE 0x00000200 ! 22: #define ROUNDRECT 0x00000400 ! 23: #define STRETCH_BLT 0x00000800 ! 24: ! 25: #define ALLGRAPHICS 0x00000fff ! 26: ! 27: #define ENUMFONTS 0x40000000 ! 28: #define DRAWAXIS 0x80000000 ! 29: ! 30: #define MAX_GRAPHICS 12 ! 31: ! 32: #define BUFSIZE 256 ! 33: ! 34: #define DID_OK 501 ! 35: #define DID_LISTBOX 502 ! 36: #define DID_CANCEL 503 ! 37: #define DID_EDITTEXT 504 ! 38: ! 39: ! 40: ! 41: /******************************************************************************\ ! 42: * FUNCTION PROTOTYPES ! 43: \******************************************************************************/ ! 44: ! 45: #define ErrMsgBox(txt,title) MessageBox (ghwndMain, (LPCTSTR) txt, \ ! 46: (LPCTSTR) title, \ ! 47: MB_OK | MB_ICONEXCLAMATION); ! 48: ! 49: ! 50: ! 51: /******************************************************************************\ ! 52: * FUNCTION PROTOTYPES ! 53: \******************************************************************************/ ! 54: ! 55: BOOL Paint (HDC, LPRECT); ! 56: ! 57: LRESULT CALLBACK DevCapsXDlgProc (HWND, UINT, WPARAM, LPARAM); ! 58: LRESULT CALLBACK EnumPrintersDlgProc (HWND, UINT, WPARAM, LPARAM); ! 59: LRESULT CALLBACK GetDeviceCapsDlgProc (HWND, UINT, WPARAM, LPARAM); ! 60: LRESULT CALLBACK GetPrinterDriverDlgProc (HWND, UINT, WPARAM, LPARAM); ! 61: LRESULT CALLBACK EnumPrinterDriversDlgProc (HWND, UINT, WPARAM, LPARAM);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.