Mercurial > games > semicongine
comparison fuhtark_test/include/winapi/wpapi.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 __WP15API_H__ | |
| 7 #define __WP15API_H__ | |
| 8 | |
| 9 #include <windows.h> | |
| 10 #include "wptypes.h" | |
| 11 | |
| 12 #include <pshpack4.h> | |
| 13 | |
| 14 #define WPF_NO_RECURSIVE_POST 0x00000001 | |
| 15 #define WPF_NO_WIZARD 0x00000002 | |
| 16 #define WPF_MINIMAL_UI 0x00000004 | |
| 17 #define WPF_FIRST_FILE_AS_DEFAULT 0x00000008 | |
| 18 #define WPF_NO_DIRECT_LOOKUP 0x00000010 | |
| 19 #define WPF_NO_URL_LOOKUP 0x00000020 | |
| 20 #define WPF_USE_PROVIDER_PASSED 0x00000040 | |
| 21 #define WPF_NO_VERIFY_POST 0x00000080 | |
| 22 #define WPF_NO_PROGRESS_DLGS 0x00000200 | |
| 23 #define WPF_SHOWPAGE_WELCOME 0x00010000 | |
| 24 #define WPF_SHOWPAGE_SRCFILE 0x00020000 | |
| 25 #define WPF_SHOWPAGE_DESTSITE 0x00040000 | |
| 26 #define WPF_SHOWPAGE_PROVIDER 0x00080000 | |
| 27 #define WPF_ENABLE_LOCAL_BASE_DIR 0x00100000 | |
| 28 #define WPF_NO_UI WPF_NO_WIZARD | WPF_NO_PROGRESS_DLGS | |
| 29 #define WPF_SHOWPAGE_ALL WPF_SHOWPAGE_WELCOME | WPF_SHOWPAGE_SRCFILE | WPF_SHOWPAGE_DESTSITE | WPF_SHOWPAGE_PROVIDER | |
| 30 | |
| 31 #define MAX_SITENAME_LEN 128 | |
| 32 | |
| 33 #ifdef __cplusplus | |
| 34 extern "C" { | |
| 35 #endif | |
| 36 | |
| 37 DWORD WINAPI WpPostW(HWND hwnd,DWORD dwNumLocalPaths,LPWSTR *pwsLocalPaths,LPDWORD pdwSiteNameBufLen,LPWSTR wsSiteName,LPDWORD pdwDestURLBufLen,LPWSTR wsDestURL,DWORD dwFlag); | |
| 38 DWORD WINAPI WpListSitesW(LPDWORD pdwSitesBufLen,LPWPSITEINFOW pSitesBuffer,LPDWORD pdwNumSites); | |
| 39 DWORD WINAPI WpDoesSiteExistW(LPCWSTR wsSiteName,WINBOOL *pfSiteExists); | |
| 40 DWORD WINAPI WpDeleteSiteW(LPCWSTR wsSiteName); | |
| 41 DWORD WINAPI WpBindToSiteW(HWND hwnd,LPCWSTR wsSiteName,LPCWSTR wsSitePostingURL,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk); | |
| 42 DWORD WINAPI WpCreateSiteW(LPCWSTR wsSiteName,LPCWSTR wsSiteLocalBaseDir,LPCWSTR wsSitePostingURL,LPCWSTR wsProviderCLSID,DWORD dwFlags); | |
| 43 DWORD WINAPI WpEnumProvidersW(LPDWORD pdwProvidersBufLen,LPWPPROVINFOW pProvidersBuffer,LPDWORD pdwNumProviders); | |
| 44 DWORD WINAPI WpGetErrorStringW(UINT uErrCode,LPWSTR wsOutputBuf,LPDWORD pdwBufLen); | |
| 45 DWORD WINAPI WpPostA(HWND hwnd,DWORD dwNumLocalPaths,LPSTR *psLocalPaths,LPDWORD pdwSiteNameBufLen,LPSTR sSiteName,LPDWORD pdwDestURLBufLen,LPSTR sDestURLBufLen,DWORD dwFlag); | |
| 46 DWORD WINAPI WpListSitesA(LPDWORD pdwSitesBufLen,LPWPSITEINFOA pSitesBuffer,LPDWORD pdwNumSites); | |
| 47 DWORD WINAPI WpDoesSiteExistA(LPCSTR sSiteName,WINBOOL *pfSiteExists); | |
| 48 DWORD WINAPI WpDeleteSiteA(LPCSTR sSiteName); | |
| 49 DWORD WINAPI WpBindToSiteA(HWND hwnd,LPCSTR sSiteName,LPCSTR sSitePostingURL,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk); | |
| 50 DWORD WINAPI WpCreateSiteA(LPCSTR sSiteName,LPCSTR sSiteLocalBaseDir,LPCSTR sSitePostingURL,LPCSTR sProviderCLSID,DWORD dwFlags); | |
| 51 DWORD WINAPI WpEnumProvidersA(LPDWORD pdwProvidersBufLen,LPWPPROVINFOA pProvidersBuffer,LPDWORD pdwNumProviders); | |
| 52 DWORD WINAPI WpGetErrorStringA(UINT uErrCode,LPSTR sOutputBuf,LPDWORD pdwBufLen); | |
| 53 | |
| 54 #ifdef __cplusplus | |
| 55 } | |
| 56 #endif | |
| 57 | |
| 58 #ifdef UNICODE | |
| 59 #define WpPost WpPostW | |
| 60 #define WpListSites WpListSitesW | |
| 61 #define WpDoesSiteExist WpDoesSiteExistW | |
| 62 #define WpDeleteSite WpDeleteSiteW | |
| 63 #define WpBindToSite WpBindToSiteW | |
| 64 #define WpCreateSite WpCreateSiteW | |
| 65 #define WpEnumProviders WpEnumProvidersW | |
| 66 #define WpGetErrorString WpGetErrorStringW | |
| 67 #else | |
| 68 #define WpPost WpPostA | |
| 69 #define WpListSites WpListSitesA | |
| 70 #define WpDoesSiteExist WpDoesSiteExistA | |
| 71 #define WpDeleteSite WpDeleteSiteA | |
| 72 #define WpBindToSite WpBindToSiteA | |
| 73 #define WpCreateSite WpCreateSiteA | |
| 74 #define WpEnumProviders WpEnumProvidersA | |
| 75 #define WpGetErrorString WpGetErrorStringA | |
| 76 #endif | |
| 77 | |
| 78 #include <poppack.h> | |
| 79 #endif |
