Source code of Windows XP (NT5)
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.

180 lines
6.2 KiB

  1. /*
  2. * demorc.h - Header file for OLE demo's resource file.
  3. *
  4. * Created by Microsoft Corporation.
  5. * (c) Copyright Microsoft Corp. 1990 - 1992 All Rights Reserved
  6. */
  7. /* Application resource ID */
  8. #define ID_APPLICATION 1
  9. #define POS_FILEMENU 0
  10. /* File menu */
  11. #define IDM_NEW 0x100
  12. #define IDM_OPEN 0x101
  13. #define IDM_SAVE 0x102
  14. #define IDM_SAVEAS 0x103
  15. #define IDM_EXIT 0x104
  16. #define IDM_ABOUT 0x105
  17. #define POS_EDITMENU 1
  18. /* Edit menu */
  19. #define IDM_CUT 0x200
  20. #define IDM_COPY 0x201
  21. #define IDM_PASTE 0x202
  22. #define IDM_PASTELINK 0x203
  23. #define IDM_CLEAR 0x204
  24. #define IDM_CLEARALL 0x205
  25. #define IDM_LINKS 0x206
  26. /* Object popup menu */
  27. #define POS_OBJECT 9 // position of Object item in Edit menu
  28. #define IDM_OBJECT 0x210
  29. #define IDM_VERBMIN 0x211
  30. #define IDM_VERBMAX 0x220 // Put this up to 220 (15 verbs) !!!
  31. #define CVERBSMAX (IDM_VERBMAX - IDM_VERBMIN + 1)
  32. #define POS_OBJECTMENU 2
  33. #define IDM_INSERT 0x300
  34. #define IDM_INSERTFILE 0x301
  35. #define IDM_UNDO 0x400 /* Only used internally */
  36. #define IDM_LOAD 0x401
  37. #define IDM_UPDATE 0x402
  38. /* Dialog box ids */
  39. #define DTPROP 1
  40. #define DTINVALIDLINK 2
  41. #define DTCREATE 3
  42. #define IDD_LINKNAME 0x200
  43. #define IDD_AUTO 0x201 // Auto update
  44. #define IDD_MANUAL 0x202 // Manual update
  45. #define IDD_EDIT 0x203 // Edit Object button
  46. #define IDD_FREEZE 0x204 // Cancel Link button
  47. #define IDD_UPDATE 0x205 // Update Now Button
  48. #define IDD_CHANGE 0x206 // Change Links Button
  49. #define IDD_LINKDONE 0x207 // ???
  50. #define IDD_PLAY 0x208 // Activate Button
  51. #define IDD_LISTBOX 0x209 // List of Links List Box
  52. #define IDD_DESTROY 0x20A
  53. #define IDD_YES 0x210
  54. #define IDD_NO 0x211
  55. #define IDD_RETRY 0x212
  56. #define IDD_SWITCH 0x213
  57. #define IDD_RETRY_TEXT1 0x214
  58. #define IDD_RETRY_TEXT2 0x215
  59. /* String table constants */
  60. #define CBMESSAGEMAX 80
  61. #define IDS_APPNAME 0x100
  62. #define IDS_UNTITLED 0x101
  63. #define IDS_MAYBESAVE 0x102
  64. #define IDS_OPENFILE 0x103
  65. #define IDS_SAVEFILE 0x104
  66. #define IDS_INSERTFILE 0x105
  67. #define IDS_FILTER 0x106
  68. #define IDS_EXTENSION 0x107
  69. #define IDS_CHANGELINK 0x108
  70. #define IDS_ALLFILTER 0x109
  71. #define IDS_EMBEDDED 0x10a
  72. #define IDS_UPDATELINKS 0x10b
  73. #define IDS_RENAME 0x10c
  74. #define IDS_INVALID_LINK 0x10d
  75. #define IDS_SAVE_CHANGES 0x10e
  76. #define IDS_UPDATE_OBJ 0x110
  77. #define IDS_RETRY_TEXT1 0x111
  78. #define IDS_RETRY_TEXT2 0x112
  79. /* Error messages */
  80. #define E_FAILED_TO_OPEN_FILE 0x200
  81. #define E_FAILED_TO_READ_FILE 0x201
  82. #define E_FAILED_TO_SAVE_FILE 0x202
  83. #define E_INVALID_FILENAME 0x203
  84. #define E_CREATE_FROM_TEMPLATE 0x204
  85. #define E_FAILED_TO_WRITE_OBJECT 0x205
  86. #define E_FAILED_TO_READ_OBJECT 0x206
  87. #define E_FAILED_TO_DELETE_OBJECT 0x207
  88. #define E_CLIPBOARD_CUT_FAILED 0x208
  89. #define E_CLIPBOARD_COPY_FAILED 0x209
  90. #define E_GET_FROM_CLIPBOARD_FAILED 0x20a
  91. #define E_FAILED_TO_CREATE_CHILD_WINDOW 0x20b
  92. #define E_FAILED_TO_CREATE_OBJECT 0x20c
  93. #define E_OBJECT_BUSY 0x20d
  94. #define E_UNEXPECTED_RELEASE 0x20e
  95. #define E_FAILED_TO_LAUNCH_SERVER 0x20f
  96. #define E_FAILED_TO_UPDATE 0x210
  97. #define E_FAILED_TO_FREEZE 0x211
  98. #define E_FAILED_TO_UPDATE_LINK 0x212
  99. #define E_SERVER_BUSY 0x213
  100. #define E_FAILED_TO_RECONNECT_OBJECT 0x214
  101. #define E_FAILED_TO_CONNECT 0x215
  102. #define E_FAILED_TO_RELEASE_OBJECT 0x216
  103. #define E_FAILED_TO_ALLOC 0x217
  104. #define E_FAILED_TO_LOCK 0x218
  105. #define E_FAILED_TO_DO_VERB 0x219
  106. #define W_IMPROPER_LINK_OPTIONS 0x300
  107. #define W_STATIC_OBJECT 0x301
  108. #define W_FAILED_TO_CLONE_UNDO 0x302
  109. #define W_FAILED_TO_NOTIFY 0x303
  110. #define SZAUTO 0x400
  111. #define SZMANUAL 0x401
  112. #define SZFROZEN 0x402
  113. #define E_OLE_ERROR_PROTECT_ONLY 3
  114. #define E_OLE_ERROR_MEMORY 4
  115. #define E_OLE_ERROR_STREAM 5
  116. #define E_OLE_ERROR_STATIC 6
  117. #define E_OLE_ERROR_BLANK 7
  118. #define E_OLE_ERROR_DRAW 8
  119. #define E_OLE_ERROR_METAFILE 9
  120. #define E_OLE_ERROR_ABORT 10
  121. #define E_OLE_ERROR_CLIPBOARD 11
  122. #define E_OLE_ERROR_FORMAT 12
  123. #define E_OLE_ERROR_OBJECT 13
  124. #define E_OLE_ERROR_OPTION 14
  125. #define E_OLE_ERROR_PROTOCOL 15
  126. #define E_OLE_ERROR_ADDRESS 16
  127. #define E_OLE_ERROR_NOT_EQUAL 17
  128. #define E_OLE_ERROR_HANDLE 18
  129. #define E_OLE_ERROR_GENERIC 19
  130. #define E_OLE_ERROR_CLASS 20
  131. #define E_OLE_ERROR_SYNTAX 21
  132. #define E_OLE_ERROR_DATATYPE 22
  133. #define E_OLE_ERROR_PALETTE 23
  134. #define E_OLE_ERROR_NOT_LINK 24
  135. #define E_OLE_ERROR_NOT_EMPTY 25
  136. #define E_OLE_ERROR_SIZE 26
  137. #define E_OLE_ERROR_DRIVE 27
  138. #define E_OLE_ERROR_NETWORK 28
  139. #define E_OLE_ERROR_NAME 29
  140. #define E_OLE_ERROR_TEMPLATE 30
  141. #define E_OLE_ERROR_NEW 31
  142. #define E_OLE_ERROR_EDIT 32
  143. #define E_OLE_ERROR_OPEN 33
  144. #define E_OLE_ERROR_NOT_OPEN 34
  145. #define E_OLE_ERROR_LAUNCH 35
  146. #define E_OLE_ERROR_COMM 36
  147. #define E_OLE_ERROR_TERMINATE 37
  148. #define E_OLE_ERROR_COMMAND 38
  149. #define E_OLE_ERROR_SHOW 39
  150. #define E_OLE_ERROR_DOVERB 40
  151. #define E_OLE_ERROR_ADVISE_NATIVE 41
  152. #define E_OLE_ERROR_ADVISE_PICT 42
  153. #define E_OLE_ERROR_ADVISE_RENAME 43
  154. #define E_OLE_ERROR_POKE_NATIVE 44
  155. #define E_OLE_ERROR_REQUEST_NATIVE 45
  156. #define E_OLE_ERROR_REQUEST_PICT 46
  157. #define E_OLE_ERROR_SERVER_BLOCKED 47
  158. #define E_OLE_ERROR_REGISTRATION 48
  159. #define E_OLE_ERROR_ALREADY_REGISTERED 49
  160. #define E_OLE_ERROR_TASK 50
  161. #define E_OLE_ERROR_OUTOFDATE 51
  162. #define E_OLE_ERROR_CANT_UPDATE_CLIENT 52
  163. #define E_OLE_ERROR_UPDATE 53