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.

101 lines
2.7 KiB

  1. /****************************** Module Header ******************************\
  2. * Module Name: exec.h
  3. *
  4. * Copyright (c) 1991, Microsoft Corporation
  5. *
  6. * Niblet's header file
  7. *
  8. * History:
  9. * 04-13-91 ScottLu Stolen from niblet sources
  10. * 21-mar-92 mattfe added stuff form win3.1 progman
  11. \***************************************************************************/
  12. #define NO_CALLPROC32_DECL
  13. #include "windows.h"
  14. /*
  15. * Resource defines
  16. */
  17. #define WINDOWMENU 1
  18. #define ID_WOWEXEC_ICON 2
  19. #define ID_PARTY_DIALOG 3
  20. #ifdef RC_INVOKED
  21. #define ID(id) id
  22. #else
  23. #define ID(id) MAKEINTRESOURCE(id)
  24. #endif
  25. /*
  26. * Menu ID's
  27. */
  28. #define MM_BREAK 8001
  29. #define MM_ABOUT 8002
  30. #define MM_EXIT 8003
  31. #define MM_FAULT 8004
  32. #define MM_WATSON 8005
  33. #define MM_PARTY 8006
  34. #define MM_GENTHUNK 8007
  35. /*
  36. * Dialog control IDs
  37. */
  38. #define IDD_PARTY_NUMBER 1
  39. #define IDD_PARTY_STRING 2
  40. #define IDD_PARTY_NUMLABEL 3
  41. #define IDD_PARTY_STRLABEL 4
  42. /* String Table Defines */
  43. #define errTitle 0
  44. #define IDS_BADPATHMSG3 1
  45. #define IDS_NOMEMORYMSG 2
  46. #define IDS_FILENOTFOUNDMSG 3
  47. #define IDS_MANYOPENFILESMSG 4
  48. #define IDS_NOASSOCMSG 5
  49. #define IDS_ASSOCINCOMPLETE 6
  50. #define IDS_MULTIPLEDSMSG 7
  51. #define IDS_OS2APPMSG 8
  52. #define IDS_NEWWINDOWSMSG 9
  53. #define IDS_PMODEONLYMSG 10
  54. #define IDS_ACCESSDENIED 11
  55. #define IDS_DDEFAIL 12
  56. #define IDS_COMPRESSEDEXE 13
  57. #define IDS_INVALIDDLL 14
  58. #define IDS_SHAREERROR 15
  59. #define IDS_BADPATHMSG 16
  60. #define IDS_OOMEXITTITLE 17
  61. #define IDS_OOMEXITMSG 18
  62. #define IDS_UNKNOWNMSG 19
  63. #define IDS_EXECERRTITLE 20
  64. #define IDS_BADPATHTITLE 21
  65. #define IDS_APPTITLE 22
  66. #define IDS_SHAREDAPPTITLE 23
  67. #define IDS_CANTLOADWIN32DLL 24
  68. #define IDS_LAST 24 // Put New Strings Before this one
  69. #ifdef JAPAN
  70. #define MAXTITLELEN 42 /* Length of MessageBox titles */
  71. #else
  72. #define MAXTITLELEN 50 /* Length of MessageBox titles */
  73. #endif
  74. #define MAXMESSAGELEN 256 /* Length of MessageBox messages */
  75. #define MAXITEMPATHLEN 64+16+48 /* Path + 8.3 + Drive(colon) + arguments */
  76. /* PMDOS.ASM */
  77. BOOL FAR PASCAL IsReadOnly(LPSTR);
  78. BOOL FAR PASCAL PathType(LPSTR);
  79. LONG FAR PASCAL GetDOSErrorCode( void );
  80. int FAR PASCAL GetCurrentDrive(void);
  81. int FAR PASCAL SetCurrentDrive(WORD);
  82. int FAR PASCAL GetCurrentDirectory(WORD, LPSTR);
  83. int FAR PASCAL SetCurrentDirectory(LPSTR);
  84. BOOL FAR PASCAL IsRemoteDrive(int);
  85. BOOL FAR PASCAL IsRemovableDrive(int);
  86. int FAR PASCAL DosDelete(LPSTR);
  87. int FAR PASCAL DosRename(LPSTR, LPSTR);
  88. LPSTR FAR PASCAL lmemmove(LPSTR, LPSTR, WORD);
  89. DWORD FAR PASCAL FileTime(HANDLE);
  90. typedef unsigned short USHORT;