Mercurial > games > semicongine
comparison fuhtark_test/include/winapi/wfext.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 1 /** | |
| 2 * This file has no copyright assigned and is placed in the Public Domain. | |
| 3 * This file is part of the w64 mingw-runtime package. | |
| 4 * No warranty is given; refer to the file DISCLAIMER within this package. | |
| 5 */ | |
| 6 #ifndef _INC_WFEXT | |
| 7 #define _INC_WFEXT | |
| 8 | |
| 9 #ifdef __cplusplus | |
| 10 extern "C" { | |
| 11 #endif | |
| 12 | |
| 13 #define MENU_TEXT_LEN 40 | |
| 14 | |
| 15 #define FMMENU_FIRST 1 | |
| 16 #define FMMENU_LAST 99 | |
| 17 | |
| 18 #define FMEVENT_LOAD 100 | |
| 19 #define FMEVENT_UNLOAD 101 | |
| 20 #define FMEVENT_INITMENU 102 | |
| 21 #define FMEVENT_USER_REFRESH 103 | |
| 22 #define FMEVENT_SELCHANGE 104 | |
| 23 #define FMEVENT_TOOLBARLOAD 105 | |
| 24 #define FMEVENT_HELPSTRING 106 | |
| 25 #define FMEVENT_HELPMENUITEM 107 | |
| 26 | |
| 27 #define FMFOCUS_DIR 1 | |
| 28 #define FMFOCUS_TREE 2 | |
| 29 #define FMFOCUS_DRIVES 3 | |
| 30 #define FMFOCUS_SEARCH 4 | |
| 31 | |
| 32 #define FM_GETFOCUS (WM_USER + 0x0200) | |
| 33 #define FM_GETSELCOUNT (WM_USER + 0x0202) | |
| 34 #define FM_GETSELCOUNTLFN (WM_USER + 0x0203) | |
| 35 #define FM_REFRESH_WINDOWS (WM_USER + 0x0206) | |
| 36 #define FM_RELOAD_EXTENSIONS (WM_USER + 0x0207) | |
| 37 | |
| 38 #define FM_GETDRIVEINFOA (WM_USER + 0x0201) | |
| 39 #define FM_GETFILESELA (WM_USER + 0x0204) | |
| 40 #define FM_GETFILESELLFNA (WM_USER + 0x0205) | |
| 41 | |
| 42 #define FM_GETDRIVEINFOW (WM_USER + 0x0211) | |
| 43 #define FM_GETFILESELW (WM_USER + 0x0214) | |
| 44 #define FM_GETFILESELLFNW (WM_USER + 0x0215) | |
| 45 | |
| 46 #ifdef UNICODE | |
| 47 #define FM_GETDRIVEINFO FM_GETDRIVEINFOW | |
| 48 #define FM_GETFILESEL FM_GETFILESELW | |
| 49 #define FM_GETFILESELLFN FM_GETFILESELLFNW | |
| 50 #else | |
| 51 #define FM_GETDRIVEINFO FM_GETDRIVEINFOA | |
| 52 #define FM_GETFILESEL FM_GETFILESELA | |
| 53 #define FM_GETFILESELLFN FM_GETFILESELLFNA | |
| 54 #endif | |
| 55 | |
| 56 typedef struct _FMS_GETFILESELA { | |
| 57 FILETIME ftTime; | |
| 58 DWORD dwSize; | |
| 59 BYTE bAttr; | |
| 60 CHAR szName[260]; | |
| 61 } FMS_GETFILESELA,*LPFMS_GETFILESELA; | |
| 62 | |
| 63 typedef struct _FMS_GETFILESELW { | |
| 64 FILETIME ftTime; | |
| 65 DWORD dwSize; | |
| 66 BYTE bAttr; | |
| 67 WCHAR szName[260]; | |
| 68 } FMS_GETFILESELW,*LPFMS_GETFILESELW; | |
| 69 | |
| 70 #ifdef UNICODE | |
| 71 #define FMS_GETFILESEL FMS_GETFILESELW | |
| 72 #define LPFMS_GETFILESEL LPFMS_GETFILESELW | |
| 73 #else | |
| 74 #define FMS_GETFILESEL FMS_GETFILESELA | |
| 75 #define LPFMS_GETFILESEL LPFMS_GETFILESELA | |
| 76 #endif | |
| 77 | |
| 78 typedef struct _FMS_GETDRIVEINFOA { | |
| 79 DWORD dwTotalSpace; | |
| 80 DWORD dwFreeSpace; | |
| 81 CHAR szPath[260]; | |
| 82 CHAR szVolume[14]; | |
| 83 CHAR szShare[128]; | |
| 84 } FMS_GETDRIVEINFOA,*LPFMS_GETDRIVEINFOA; | |
| 85 | |
| 86 typedef struct _FMS_GETDRIVEINFOW { | |
| 87 DWORD dwTotalSpace; | |
| 88 DWORD dwFreeSpace; | |
| 89 WCHAR szPath[260]; | |
| 90 WCHAR szVolume[14]; | |
| 91 WCHAR szShare[128]; | |
| 92 } FMS_GETDRIVEINFOW,*LPFMS_GETDRIVEINFOW; | |
| 93 | |
| 94 #ifdef UNICODE | |
| 95 #define FMS_GETDRIVEINFO FMS_GETDRIVEINFOW | |
| 96 #define LPFMS_GETDRIVEINFO LPFMS_GETDRIVEINFOW | |
| 97 #else | |
| 98 #define FMS_GETDRIVEINFO FMS_GETDRIVEINFOA | |
| 99 #define LPFMS_GETDRIVEINFO LPFMS_GETDRIVEINFOA | |
| 100 #endif | |
| 101 | |
| 102 typedef struct _FMS_LOADA { | |
| 103 DWORD dwSize; | |
| 104 CHAR szMenuName[MENU_TEXT_LEN]; | |
| 105 HMENU hMenu; | |
| 106 UINT wMenuDelta; | |
| 107 } FMS_LOADA,*LPFMS_LOADA; | |
| 108 | |
| 109 typedef struct _FMS_LOADW { | |
| 110 DWORD dwSize; | |
| 111 WCHAR szMenuName[MENU_TEXT_LEN]; | |
| 112 HMENU hMenu; | |
| 113 UINT wMenuDelta; | |
| 114 } FMS_LOADW,*LPFMS_LOADW; | |
| 115 | |
| 116 #ifdef UNICODE | |
| 117 #define FMS_LOAD FMS_LOADW | |
| 118 #define LPFMS_LOAD LPFMS_LOADW | |
| 119 #else | |
| 120 #define FMS_LOAD FMS_LOADA | |
| 121 #define LPFMS_LOAD LPFMS_LOADA | |
| 122 #endif | |
| 123 | |
| 124 typedef struct tagEXT_BUTTON { | |
| 125 WORD idCommand; | |
| 126 WORD idsHelp; | |
| 127 WORD fsStyle; | |
| 128 } EXT_BUTTON,*LPEXT_BUTTON; | |
| 129 | |
| 130 typedef struct tagFMS_TOOLBARLOAD { | |
| 131 DWORD dwSize; | |
| 132 LPEXT_BUTTON lpButtons; | |
| 133 WORD cButtons; | |
| 134 WORD cBitmaps; | |
| 135 WORD idBitmap; | |
| 136 HBITMAP hBitmap; | |
| 137 } FMS_TOOLBARLOAD,*LPFMS_TOOLBARLOAD; | |
| 138 | |
| 139 typedef struct tagFMS_HELPSTRINGA { | |
| 140 INT idCommand; | |
| 141 HMENU hMenu; | |
| 142 CHAR szHelp[128]; | |
| 143 } FMS_HELPSTRINGA,*LPFMS_HELPSTRINGA; | |
| 144 | |
| 145 typedef struct tagFMS_HELPSTRINGW { | |
| 146 INT idCommand; | |
| 147 HMENU hMenu; | |
| 148 WCHAR szHelp[128]; | |
| 149 } FMS_HELPSTRINGW,*LPFMS_HELPSTRINGW; | |
| 150 | |
| 151 #ifdef UNICODE | |
| 152 #define FMS_HELPSTRING FMS_HELPSTRINGW | |
| 153 #define LPFMS_HELPSTRING LPFMS_HELPSTRINGW | |
| 154 #else | |
| 155 #define FMS_HELPSTRING FMS_HELPSTRINGA | |
| 156 #define LPFMS_HELPSTRING LPFMS_HELPSTRINGA | |
| 157 #endif | |
| 158 | |
| 159 typedef DWORD (WINAPI *FM_EXT_PROC)(HWND,WORD,LONG); | |
| 160 typedef DWORD (WINAPI *FM_UNDELETE_PROC)(HWND,LPTSTR); | |
| 161 | |
| 162 #ifdef UNICODE | |
| 163 LONG WINAPI FMExtensionProcW(HWND hwnd,WORD wEvent,LONG lParam); | |
| 164 #else | |
| 165 LONG WINAPI FMExtensionProc(HWND hwnd,WORD wEvent,LONG lParam); | |
| 166 #endif | |
| 167 | |
| 168 #ifdef __cplusplus | |
| 169 } | |
| 170 #endif | |
| 171 #endif |
