missing.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/msw/missing.h
  3. // Purpose: Declarations for parts of the Win32 SDK that are missing in
  4. // the versions that come with some compilers
  5. // Created: 2002/04/23
  6. // Copyright: (c) 2002 Mattia Barbon
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_MISSING_H_
  10. #define _WX_MISSING_H_
  11. /*
  12. * The following are required for VC++ 6.
  13. */
  14. // Needed by cursor.cpp
  15. #ifndef IDC_HAND
  16. #define IDC_HAND MAKEINTRESOURCE(32649)
  17. #endif
  18. // Needed by strconv.cpp
  19. #ifndef WC_NO_BEST_FIT_CHARS
  20. #define WC_NO_BEST_FIT_CHARS 0x400
  21. #endif
  22. #ifndef WM_CONTEXTMENU
  23. #define WM_CONTEXTMENU 0x007B
  24. #endif
  25. #ifndef WM_CHANGEUISTATE
  26. #define WM_CHANGEUISTATE 0x0127
  27. #endif
  28. #ifndef WM_UPDATEUISTATE
  29. #define WM_UPDATEUISTATE 0x0128
  30. #endif
  31. #ifndef WM_QUERYUISTATE
  32. #define WM_QUERYUISTATE 0x0129
  33. #endif
  34. #ifndef WM_PRINTCLIENT
  35. #define WM_PRINTCLIENT 0x318
  36. #endif
  37. #ifndef DT_HIDEPREFIX
  38. #define DT_HIDEPREFIX 0x00100000
  39. #endif
  40. #ifndef DSS_HIDEPREFIX
  41. #define DSS_HIDEPREFIX 0x0200
  42. #endif
  43. // Needed by toplevel.cpp
  44. #ifndef UIS_SET
  45. #define UIS_SET 1
  46. #define UIS_CLEAR 2
  47. #define UIS_INITIALIZE 3
  48. #endif
  49. #ifndef UISF_HIDEFOCUS
  50. #define UISF_HIDEFOCUS 1
  51. #endif
  52. #ifndef UISF_HIDEACCEL
  53. #define UISF_HIDEACCEL 2
  54. #endif
  55. #ifndef OFN_EXPLORER
  56. #define OFN_EXPLORER 0x00080000
  57. #endif
  58. #ifndef OFN_ENABLESIZING
  59. #define OFN_ENABLESIZING 0x00800000
  60. #endif
  61. // Needed by window.cpp
  62. #if wxUSE_MOUSEWHEEL
  63. #ifndef WM_MOUSEWHEEL
  64. #define WM_MOUSEWHEEL 0x020A
  65. #endif
  66. #ifndef WM_MOUSEHWHEEL
  67. #define WM_MOUSEHWHEEL 0x020E
  68. #endif
  69. #ifndef WHEEL_DELTA
  70. #define WHEEL_DELTA 120
  71. #endif
  72. #ifndef SPI_GETWHEELSCROLLLINES
  73. #define SPI_GETWHEELSCROLLLINES 104
  74. #endif
  75. #ifndef SPI_GETWHEELSCROLLCHARS
  76. #define SPI_GETWHEELSCROLLCHARS 108
  77. #endif
  78. #endif // wxUSE_MOUSEWHEEL
  79. // Needed by window.cpp
  80. #ifndef VK_OEM_1
  81. #define VK_OEM_1 0xBA
  82. #define VK_OEM_2 0xBF
  83. #define VK_OEM_3 0xC0
  84. #define VK_OEM_4 0xDB
  85. #define VK_OEM_5 0xDC
  86. #define VK_OEM_6 0xDD
  87. #define VK_OEM_7 0xDE
  88. #define VK_OEM_102 0xE2
  89. #endif
  90. #ifndef VK_OEM_COMMA
  91. #define VK_OEM_PLUS 0xBB
  92. #define VK_OEM_COMMA 0xBC
  93. #define VK_OEM_MINUS 0xBD
  94. #define VK_OEM_PERIOD 0xBE
  95. #endif
  96. #ifndef SM_TABLETPC
  97. #define SM_TABLETPC 86
  98. #endif
  99. #ifndef INKEDIT_CLASS
  100. # define INKEDIT_CLASSW L"INKEDIT"
  101. # ifdef UNICODE
  102. # define INKEDIT_CLASS INKEDIT_CLASSW
  103. # else
  104. # define INKEDIT_CLASS "INKEDIT"
  105. # endif
  106. #endif
  107. #ifndef EM_SETINKINSERTMODE
  108. # define EM_SETINKINSERTMODE (WM_USER + 0x0204)
  109. #endif
  110. #ifndef EM_SETUSEMOUSEFORINPUT
  111. #define EM_SETUSEMOUSEFORINPUT (WM_USER + 0x224)
  112. #endif
  113. #ifndef TPM_RECURSE
  114. #define TPM_RECURSE 1
  115. #endif
  116. #ifndef WS_EX_LAYOUTRTL
  117. #define WS_EX_LAYOUTRTL 0x00400000
  118. #endif
  119. #ifndef WS_EX_COMPOSITED
  120. #define WS_EX_COMPOSITED 0x02000000L
  121. #endif
  122. #ifndef WS_EX_LAYERED
  123. #define WS_EX_LAYERED 0x00080000
  124. #endif
  125. #ifndef LWA_ALPHA
  126. #define LWA_ALPHA 2
  127. #endif
  128. #ifndef QS_ALLPOSTMESSAGE
  129. #define QS_ALLPOSTMESSAGE 0
  130. #endif
  131. /*
  132. * The following are required for VC++ 5 when the PSDK is not available.
  133. */
  134. #if defined __VISUALC__ && __VISUALC__ <= 1100
  135. #ifndef VER_NT_WORKSTATION
  136. typedef struct _OSVERSIONINFOEXA {
  137. DWORD dwOSVersionInfoSize;
  138. DWORD dwMajorVersion;
  139. DWORD dwMinorVersion;
  140. DWORD dwBuildNumber;
  141. DWORD dwPlatformId;
  142. CHAR szCSDVersion[128];
  143. WORD wServicePackMajor;
  144. WORD wServicePackMinor;
  145. WORD wSuiteMask;
  146. BYTE wProductType;
  147. BYTE wReserved;
  148. } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA;
  149. typedef struct _OSVERSIONINFOEXW {
  150. DWORD dwOSVersionInfoSize;
  151. DWORD dwMajorVersion;
  152. DWORD dwMinorVersion;
  153. DWORD dwBuildNumber;
  154. DWORD dwPlatformId;
  155. WCHAR szCSDVersion[128];
  156. WORD wServicePackMajor;
  157. WORD wServicePackMinor;
  158. WORD wSuiteMask;
  159. BYTE wProductType;
  160. BYTE wReserved;
  161. } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW;
  162. #ifdef UNICODE
  163. typedef OSVERSIONINFOW OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
  164. typedef OSVERSIONINFOEXW OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
  165. #else
  166. typedef OSVERSIONINFOA OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
  167. typedef OSVERSIONINFOEXA OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
  168. #endif
  169. #endif // defined VER_NT_WORKSTATION
  170. #ifndef CP_SYMBOL
  171. #define CP_SYMBOL 42
  172. #endif
  173. // NMLVCUSTOMDRAW originally didn't have the iSubItem member. It was added
  174. // with IE4, as was IPN_FIRST which is used as a test :-(.
  175. //
  176. #ifndef IPN_FIRST
  177. typedef struct wxtagNMLVCUSTOMDRAW_ {
  178. NMCUSTOMDRAW nmcd;
  179. COLORREF clrText;
  180. COLORREF clrTextBk;
  181. int iSubItem;
  182. } wxNMLVCUSTOMDRAW_, *wxLPNMLVCUSTOMDRAW_;
  183. #define NMLVCUSTOMDRAW wxNMLVCUSTOMDRAW_
  184. #define LPNMLVCUSTOMDRAW wxLPNMLVCUSTOMDRAW_
  185. #endif // defined IPN_FIRST
  186. #endif // defined __VISUALC__ && __VISUALC__ <= 1100
  187. // ----------------------------------------------------------------------------
  188. // menu stuff
  189. // ----------------------------------------------------------------------------
  190. #ifndef MIIM_BITMAP
  191. #define MIIM_STRING 0x00000040
  192. #define MIIM_BITMAP 0x00000080
  193. #define MIIM_FTYPE 0x00000100
  194. #define HBMMENU_CALLBACK ((HBITMAP) -1)
  195. typedef struct tagMENUINFO
  196. {
  197. DWORD cbSize;
  198. DWORD fMask;
  199. DWORD dwStyle;
  200. UINT cyMax;
  201. HBRUSH hbrBack;
  202. DWORD dwContextHelpID;
  203. DWORD dwMenuData;
  204. } MENUINFO, FAR *LPMENUINFO;
  205. #endif // MIIM_BITMAP &c
  206. // ----------------------------------------------------------------------------
  207. // definitions related to ListView and Header common controls, needed by
  208. // msw/listctrl.cpp and msw/headerctrl.cpp
  209. // ----------------------------------------------------------------------------
  210. #ifndef I_IMAGENONE
  211. #define I_IMAGENONE (-2)
  212. #endif
  213. #ifndef LVS_EX_FULLROWSELECT
  214. #define LVS_EX_FULLROWSELECT 0x00000020
  215. #endif
  216. // LVS_EX_LABELTIP is not supported by Windows CE, don't define it there
  217. #if !defined(LVS_EX_LABELTIP) && !defined(__WXWINCE__)
  218. #define LVS_EX_LABELTIP 0x00004000
  219. #endif
  220. #ifndef LVS_EX_SUBITEMIMAGES
  221. #define LVS_EX_SUBITEMIMAGES 0x00000002
  222. #endif
  223. #ifndef HDN_GETDISPINFOW
  224. #define HDN_GETDISPINFOW (HDN_FIRST-29)
  225. #endif
  226. #ifndef HDS_HOTTRACK
  227. #define HDS_HOTTRACK 4
  228. #endif
  229. #ifndef HDS_FLAT
  230. #define HDS_FLAT 0x0200
  231. #endif
  232. #ifndef HDF_SORTUP
  233. #define HDF_SORTUP 0x0400
  234. #define HDF_SORTDOWN 0x0200
  235. #endif
  236. /*
  237. * In addition to the above, the following are required for several compilers.
  238. */
  239. #if !defined(CCS_VERT)
  240. #define CCS_VERT 0x00000080L
  241. #endif
  242. #if !defined(CCS_RIGHT)
  243. #define CCS_RIGHT (CCS_VERT|CCS_BOTTOM)
  244. #endif
  245. #if !defined(TB_SETDISABLEDIMAGELIST)
  246. #define TB_SETDISABLEDIMAGELIST (WM_USER + 54)
  247. #endif // !defined(TB_SETDISABLEDIMAGELIST)
  248. #ifndef CFM_BACKCOLOR
  249. #define CFM_BACKCOLOR 0x04000000
  250. #endif
  251. #ifndef HANGUL_CHARSET
  252. #define HANGUL_CHARSET 129
  253. #endif
  254. #ifndef CCM_SETUNICODEFORMAT
  255. #define CCM_SETUNICODEFORMAT 8197
  256. #endif
  257. // ----------------------------------------------------------------------------
  258. // Tree control
  259. // ----------------------------------------------------------------------------
  260. #ifndef TV_FIRST
  261. #define TV_FIRST 0x1100
  262. #endif
  263. #ifndef TVS_FULLROWSELECT
  264. #define TVS_FULLROWSELECT 0x1000
  265. #endif
  266. #ifndef TVM_SETBKCOLOR
  267. #define TVM_SETBKCOLOR (TV_FIRST + 29)
  268. #define TVM_SETTEXTCOLOR (TV_FIRST + 30)
  269. #endif
  270. /*
  271. * The following are required for BC++ 5.5 (none at present.)
  272. */
  273. /*
  274. * The following are specifically required for Digital Mars C++
  275. */
  276. #ifdef __DMC__
  277. #ifndef VER_NT_WORKSTATION
  278. typedef struct _OSVERSIONINFOEX {
  279. DWORD dwOSVersionInfoSize;
  280. DWORD dwMajorVersion;
  281. DWORD dwMinorVersion;
  282. DWORD dwBuildNumber;
  283. DWORD dwPlatformId;
  284. TCHAR szCSDVersion[ 128 ];
  285. WORD wServicePackMajor;
  286. WORD wServicePackMinor;
  287. WORD wSuiteMask;
  288. BYTE wProductType;
  289. BYTE wReserved;
  290. } OSVERSIONINFOEX;
  291. #endif // !defined(VER_NT_WORKSTATION)
  292. #ifndef _TrackMouseEvent
  293. #define _TrackMouseEvent TrackMouseEvent
  294. #endif
  295. #ifndef LVM_SETEXTENDEDLISTVIEWSTYLE
  296. #define LVM_SETEXTENDEDLISTVIEWSTYLE (0x1000 + 54)
  297. #endif
  298. #ifndef LVM_GETSUBITEMRECT
  299. #define LVM_GETSUBITEMRECT (0x1000 + 56)
  300. #endif
  301. #ifndef LVCF_IMAGE
  302. #define LVCF_IMAGE 0x0010
  303. #endif
  304. #ifndef Header_GetItemRect
  305. #define Header_GetItemRect(w,i,r) \
  306. (BOOL)SendMessage((w),HDM_GETITEMRECT,(WPARAM)(i),(LPARAM)(r))
  307. #endif
  308. #ifndef HDM_GETITEMRECT
  309. #define HDM_GETITEMRECT (HDM_FIRST+7)
  310. #endif
  311. #ifndef ListView_GetHeader
  312. #define ListView_GetHeader(w) (HWND)SendMessage((w),LVM_GETHEADER,0,0)
  313. #endif
  314. #ifndef ListView_GetSubItemRect
  315. #define ListView_GetSubItemRect(w, i, s, c, p) (HWND)SendMessage(w,LVM_GETSUBITEMRECT,i, ((p) ? ((((LPRECT)(p))->top = s), (((LPRECT)(p))->left = c), (LPARAM)(p)) : (LPARAM)(LPRECT)NULL))
  316. #endif
  317. #ifndef LVM_GETHEADER
  318. #define LVM_GETHEADER (LVM_FIRST+31)
  319. #endif
  320. #ifndef HDLAYOUT
  321. #define HDLAYOUT HD_LAYOUT
  322. #endif
  323. #ifndef HDITEM
  324. #define HDITEM HD_ITEM
  325. #endif
  326. #ifndef NMHEADER
  327. #define NMHEADER HD_NOTIFY
  328. #endif
  329. #ifndef HDS_DRAGDROP
  330. #define HDS_DRAGDROP 0x0040
  331. #endif
  332. #ifndef HDS_FULLDRAG
  333. #define HDS_FULLDRAG 0x0080
  334. #endif
  335. #ifndef HDN_BEGINDRAG
  336. #define HDN_BEGINDRAG (HDN_FIRST - 11)
  337. #endif
  338. #ifndef HDN_ENDDRAG
  339. #define HDN_ENDDRAG (HDN_FIRST - 10)
  340. #endif
  341. #ifndef LVSICF_NOSCROLL
  342. #define LVSICF_NOINVALIDATEALL 0x0001
  343. #define LVSICF_NOSCROLL 0x0002
  344. #endif
  345. #ifndef CP_SYMBOL
  346. #define CP_SYMBOL 42
  347. #endif
  348. // ----------------------------------------------------------------------------
  349. // wxDisplay
  350. // ----------------------------------------------------------------------------
  351. // The windows headers with Digital Mars lack some typedefs.
  352. // typedef them as my_XXX and then #define to rename to XXX in case
  353. // a newer version of Digital Mars fixes the headers
  354. // (or up to date PSDK is in use with older version)
  355. // also we use any required definition (MONITOR_DEFAULTTONULL) to recognize
  356. // whether whole missing block needs to be included
  357. #ifndef MONITOR_DEFAULTTONULL
  358. #define HMONITOR_DECLARED
  359. DECLARE_HANDLE(HMONITOR);
  360. typedef BOOL(CALLBACK* my_MONITORENUMPROC)(HMONITOR,HDC,LPRECT,LPARAM);
  361. #define MONITORENUMPROC my_MONITORENUMPROC
  362. typedef struct my_tagMONITORINFO {
  363. DWORD cbSize;
  364. RECT rcMonitor;
  365. RECT rcWork;
  366. DWORD dwFlags;
  367. } my_MONITORINFO,*my_LPMONITORINFO;
  368. #define MONITORINFO my_MONITORINFO
  369. #define LPMONITORINFO my_LPMONITORINFO
  370. typedef struct my_MONITORINFOEX : public my_tagMONITORINFO
  371. {
  372. TCHAR szDevice[CCHDEVICENAME];
  373. } my_MONITORINFOEX, *my_LPMONITORINFOEX;
  374. #define MONITORINFOEX my_MONITORINFOEX
  375. #define LPMONITORINFOEX my_LPMONITORINFOEX
  376. #ifndef MONITOR_DEFAULTTONULL
  377. #define MONITOR_DEFAULTTONULL 0
  378. #endif // MONITOR_DEFAULTTONULL
  379. #ifndef MONITORINFOF_PRIMARY
  380. #define MONITORINFOF_PRIMARY 1
  381. #endif // MONITORINFOF_PRIMARY
  382. #ifndef DDENUM_ATTACHEDSECONDARYDEVICES
  383. #define DDENUM_ATTACHEDSECONDARYDEVICES 1
  384. #endif
  385. #endif // MONITOR_DEFAULTTONULL
  386. // ----------------------------------------------------------------------------
  387. // Tree control
  388. // ----------------------------------------------------------------------------
  389. #ifndef TVIS_FOCUSED
  390. #define TVIS_FOCUSED 0x0001
  391. #endif
  392. #ifndef TVS_CHECKBOXES
  393. #define TVS_CHECKBOXES 0x0100
  394. #endif
  395. #ifndef TVITEM
  396. #define TVITEM TV_ITEM
  397. #endif
  398. #endif
  399. // DMC++
  400. /*
  401. * The following are specifically required for OpenWatcom C++ (none at present)
  402. */
  403. #if defined(__WATCOMC__)
  404. #endif
  405. /*
  406. * The following are specifically required for MinGW (none at present)
  407. */
  408. #if defined (__MINGW32__)
  409. #if !wxCHECK_W32API_VERSION(3,1)
  410. #include <windows.h>
  411. #include "wx/msw/winundef.h"
  412. typedef struct
  413. {
  414. RECT rgrc[3];
  415. WINDOWPOS *lppos;
  416. } NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS;
  417. #endif
  418. #endif
  419. //Various defines that will be needed by mingw and possibly VC++6
  420. //Used by the webview library
  421. #ifndef DISPID_COMMANDSTATECHANGE
  422. #define DISPID_COMMANDSTATECHANGE 105
  423. #endif
  424. #ifndef DISPID_NAVIGATECOMPLETE2
  425. #define DISPID_NAVIGATECOMPLETE2 252
  426. #endif
  427. #ifndef DISPID_NAVIGATEERROR
  428. #define DISPID_NAVIGATEERROR 271
  429. #endif
  430. #ifndef DISPID_NEWWINDOW3
  431. #define DISPID_NEWWINDOW3 273
  432. #endif
  433. #ifndef INET_E_ERROR_FIRST
  434. #define INET_E_ERROR_FIRST 0x800C0002L
  435. #endif
  436. #ifndef INET_E_INVALID_URL
  437. #define INET_E_INVALID_URL 0x800C0002L
  438. #endif
  439. #ifndef INET_E_NO_SESSION
  440. #define INET_E_NO_SESSION 0x800C0003L
  441. #endif
  442. #ifndef INET_E_CANNOT_CONNECT
  443. #define INET_E_CANNOT_CONNECT 0x800C0004L
  444. #endif
  445. #ifndef INET_E_RESOURCE_NOT_FOUND
  446. #define INET_E_RESOURCE_NOT_FOUND 0x800C0005L
  447. #endif
  448. #ifndef INET_E_OBJECT_NOT_FOUND
  449. #define INET_E_OBJECT_NOT_FOUND 0x800C0006L
  450. #endif
  451. #ifndef INET_E_DATA_NOT_AVAILABLE
  452. #define INET_E_DATA_NOT_AVAILABLE 0x800C0007L
  453. #endif
  454. #ifndef INET_E_DOWNLOAD_FAILURE
  455. #define INET_E_DOWNLOAD_FAILURE 0x800C0008L
  456. #endif
  457. #ifndef INET_E_AUTHENTICATION_REQUIRED
  458. #define INET_E_AUTHENTICATION_REQUIRED 0x800C0009L
  459. #endif
  460. #ifndef INET_E_NO_VALID_MEDIA
  461. #define INET_E_NO_VALID_MEDIA 0x800C000AL
  462. #endif
  463. #ifndef INET_E_CONNECTION_TIMEOUT
  464. #define INET_E_CONNECTION_TIMEOUT 0x800C000BL
  465. #endif
  466. #ifndef INET_E_INVALID_REQUEST
  467. #define INET_E_INVALID_REQUEST 0x800C000CL
  468. #endif
  469. #ifndef INET_E_UNKNOWN_PROTOCOL
  470. #define INET_E_UNKNOWN_PROTOCOL 0x800C000DL
  471. #endif
  472. #ifndef INET_E_SECURITY_PROBLEM
  473. #define INET_E_SECURITY_PROBLEM 0x800C000EL
  474. #endif
  475. #ifndef INET_E_CANNOT_LOAD_DATA
  476. #define INET_E_CANNOT_LOAD_DATA 0x800C000FL
  477. #endif
  478. #ifndef INET_E_CANNOT_INSTANTIATE_OBJECT
  479. #define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010L
  480. #endif
  481. #ifndef INET_E_QUERYOPTION_UNKNOWN
  482. #define INET_E_QUERYOPTION_UNKNOWN 0x800C0013L
  483. #endif
  484. #ifndef INET_E_REDIRECT_FAILED
  485. #define INET_E_REDIRECT_FAILED 0x800C0014L
  486. #endif
  487. #ifndef INET_E_REDIRECT_TO_DIR
  488. #define INET_E_REDIRECT_TO_DIR 0x800C0015L
  489. #endif
  490. #ifndef INET_E_CANNOT_LOCK_REQUEST
  491. #define INET_E_CANNOT_LOCK_REQUEST 0x800C0016L
  492. #endif
  493. #ifndef INET_E_USE_EXTEND_BINDING
  494. #define INET_E_USE_EXTEND_BINDING 0x800C0017L
  495. #endif
  496. #ifndef INET_E_TERMINATED_BIND
  497. #define INET_E_TERMINATED_BIND 0x800C0018L
  498. #endif
  499. #ifndef INET_E_INVALID_CERTIFICATE
  500. #define INET_E_INVALID_CERTIFICATE 0x800C0019L
  501. #endif
  502. #ifndef INET_E_CODE_DOWNLOAD_DECLINED
  503. #define INET_E_CODE_DOWNLOAD_DECLINED 0x800C0100L
  504. #endif
  505. #ifndef INET_E_RESULT_DISPATCHED
  506. #define INET_E_RESULT_DISPATCHED 0x800C0200L
  507. #endif
  508. #ifndef INET_E_CANNOT_REPLACE_SFP_FILE
  509. #define INET_E_CANNOT_REPLACE_SFP_FILE 0x800C0300L
  510. #endif
  511. #ifndef INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY
  512. #define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY 0x800C0500L
  513. #endif
  514. #ifndef INET_E_CODE_INSTALL_SUPPRESSED
  515. #define INET_E_CODE_INSTALL_SUPPRESSED 0x800C0400L
  516. #endif
  517. #ifndef MUI_LANGUAGE_NAME
  518. #define MUI_LANGUAGE_NAME 0x8
  519. #endif
  520. /*
  521. * In addition to the declarations for VC++, the following are required for WinCE
  522. */
  523. #ifdef __WXWINCE__
  524. #include "wx/msw/wince/missing.h"
  525. #endif
  526. /*
  527. * The following are specifically required for Wine
  528. */
  529. #ifdef __WINE__
  530. #ifndef ENUM_CURRENT_SETTINGS
  531. #define ENUM_CURRENT_SETTINGS ((DWORD)-1)
  532. #endif
  533. #ifndef BROADCAST_QUERY_DENY
  534. #define BROADCAST_QUERY_DENY 1112363332
  535. #endif
  536. #endif // defined __WINE__
  537. #ifndef INVALID_FILE_ATTRIBUTES
  538. #define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
  539. #endif
  540. #endif
  541. // _WX_MISSING_H_