Mercurial > games > semicongine
comparison fuhtark_test/include/winapi/shfolder.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 _SHFOLDER_H_ | |
| 7 #define _SHFOLDER_H_ | |
| 8 | |
| 9 #ifndef SHFOLDERAPI | |
| 10 #if defined(_SHFOLDER_) | |
| 11 #define SHFOLDERAPI STDAPI | |
| 12 #else | |
| 13 #define SHFOLDERAPI EXTERN_C DECLSPEC_IMPORT HRESULT WINAPI | |
| 14 #endif | |
| 15 #endif | |
| 16 | |
| 17 #ifndef CSIDL_PERSONAL | |
| 18 #define CSIDL_PERSONAL 0x0005 | |
| 19 #endif | |
| 20 | |
| 21 #ifndef CSIDL_MYMUSIC | |
| 22 #define CSIDL_MYMUSIC 0x000d | |
| 23 #endif | |
| 24 | |
| 25 #ifndef CSIDL_APPDATA | |
| 26 #define CSIDL_APPDATA 0x001A | |
| 27 #endif | |
| 28 | |
| 29 #ifndef CSIDL_LOCAL_APPDATA | |
| 30 | |
| 31 #define CSIDL_LOCAL_APPDATA 0x001C | |
| 32 #define CSIDL_INTERNET_CACHE 0x0020 | |
| 33 #define CSIDL_COOKIES 0x0021 | |
| 34 #define CSIDL_HISTORY 0x0022 | |
| 35 #define CSIDL_COMMON_APPDATA 0x0023 | |
| 36 #define CSIDL_WINDOWS 0x0024 | |
| 37 #define CSIDL_SYSTEM 0x0025 | |
| 38 #define CSIDL_PROGRAM_FILES 0x0026 | |
| 39 #define CSIDL_MYPICTURES 0x0027 | |
| 40 #define CSIDL_PROGRAM_FILES_COMMON 0x002b | |
| 41 #define CSIDL_COMMON_DOCUMENTS 0x002e | |
| 42 #define CSIDL_RESOURCES 0x0038 | |
| 43 #define CSIDL_RESOURCES_LOCALIZED 0x0039 | |
| 44 | |
| 45 #define CSIDL_FLAG_CREATE 0x8000 | |
| 46 | |
| 47 #define CSIDL_COMMON_ADMINTOOLS 0x002f | |
| 48 #define CSIDL_ADMINTOOLS 0x0030 | |
| 49 #endif | |
| 50 | |
| 51 #ifdef UNICODE | |
| 52 #define SHGetFolderPath SHGetFolderPathW | |
| 53 #define PFNSHGETFOLDERPATH PFNSHGETFOLDERPATHW | |
| 54 #else | |
| 55 #define SHGetFolderPath SHGetFolderPathA | |
| 56 #define PFNSHGETFOLDERPATH PFNSHGETFOLDERPATHA | |
| 57 #endif | |
| 58 | |
| 59 SHFOLDERAPI SHGetFolderPathA(HWND hwnd,int csidl,HANDLE hToken,DWORD dwFlags,LPSTR pszPath); | |
| 60 SHFOLDERAPI SHGetFolderPathW(HWND hwnd,int csidl,HANDLE hToken,DWORD dwFlags,LPWSTR pszPath); | |
| 61 | |
| 62 typedef HRESULT (__stdcall *PFNSHGETFOLDERPATHA)(HWND,int,HANDLE,DWORD,LPSTR); | |
| 63 typedef HRESULT (__stdcall *PFNSHGETFOLDERPATHW)(HWND,int,HANDLE,DWORD,LPWSTR); | |
| 64 | |
| 65 #endif |
