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.

81 lines
2.2 KiB

  1. /*Filename: PD32002.H */
  2. /* Global vars */
  3. extern HINSTANCE hInst;
  4. extern HWND MainhWnd;
  5. extern BOOL settingChanged;
  6. extern HWND hClient; /* Handle to window in client area. */
  7. extern FARPROC lpClient; /* Function for window in client area.*/
  8. extern DWORD platform;
  9. #define BLD_CannotRun 5000
  10. #define BLD_CannotCreate 5001
  11. #define BLD_CannotLoadMenu 5002
  12. #define BLD_CannotLoadIcon 5003
  13. #define BLD_CannotLoadBitmap 5004
  14. #if !defined(THISISBLDRC)
  15. /***************************************************************/
  16. /* Variables, types and constants for controls in main window. */
  17. /***************************************************************/
  18. #define CLIENTSTRIP WS_MINIMIZE|WS_MAXIMIZE|WS_CAPTION|WS_BORDER|WS_DLGFRAME|WS_SYSMENU|WS_POPUP|WS_THICKFRAME|DS_MODALFRAME
  19. typedef struct
  20. {
  21. unsigned long dtStyle;
  22. BYTE dtItemCount;
  23. int dtX;
  24. int dtY;
  25. int dtCX;
  26. int dtCY;
  27. } BLD_DLGTEMPLATE;
  28. typedef BLD_DLGTEMPLATE *LPBLD_DLGTEMPLATE;
  29. #endif
  30. //DIALOG DEFINES
  31. #define CHECK 1
  32. #define UNCHECK 0
  33. /* User Defined ID Values */
  34. #define DLG_OK 1
  35. #define DLG_CANCEL 2
  36. //About Dlg
  37. #define About_Credits_but 101
  38. #define shade 102
  39. /**************************************************************/
  40. // Functions in this file
  41. /**************************************************************/
  42. void Create_The_Rest(LPSTR lpCmdLine, HINSTANCE hInstance);
  43. void ReadIn_OldDict(HINSTANCE hInstance);
  44. /****************************************************************/
  45. // Functions in pd32f2.c and pd32002.c
  46. /****************************************************************/
  47. int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
  48. , int nCmdShow);
  49. LRESULT WINAPI MainWndProc(HWND,unsigned,WPARAM, LPARAM);
  50. BOOL BLDKeyTranslation(HWND, HACCEL, MSG *);
  51. BOOL BLDInitApplication(HINSTANCE,HINSTANCE,int *,LPSTR);
  52. BOOL BLDExitApplication(HWND hWnd); /* Called just before exit of applicati
  53. on */
  54. BOOL BLDMenuCommand(HWND, unsigned , WPARAM, LPARAM);
  55. int SaveChangesMessage(HWND hwnd, char *msg);