Mercurial > games > semicongine
diff fuhtark_test/include/winapi/sfc.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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuhtark_test/include/winapi/sfc.h Wed Nov 26 21:36:48 2025 +0700 @@ -0,0 +1,41 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the w64 mingw-runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ +#ifndef _SFC_ +#define _SFC_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define SFC_DISABLE_NORMAL 0 +#define SFC_DISABLE_ASK 1 +#define SFC_DISABLE_ONCE 2 +#define SFC_DISABLE_SETUP 3 +#define SFC_DISABLE_NOPOPUPS 4 + +#define SFC_SCAN_NORMAL 0 +#define SFC_SCAN_ALWAYS 1 +#define SFC_SCAN_ONCE 2 +#define SFC_SCAN_IMMEDIATE 3 + +#define SFC_QUOTA_DEFAULT 50 +#define SFC_QUOTA_ALL_FILES ((ULONG)-1) + +#define SFC_IDLE_TRIGGER L"WFP_IDLE_TRIGGER" + + typedef struct _PROTECTED_FILE_DATA { + WCHAR FileName[MAX_PATH]; + DWORD FileNumber; + } PROTECTED_FILE_DATA,*PPROTECTED_FILE_DATA; + + WINBOOL WINAPI SfcGetNextProtectedFile(HANDLE RpcHandle,PPROTECTED_FILE_DATA ProtFileData); + WINBOOL WINAPI SfcIsFileProtected(HANDLE RpcHandle,LPCWSTR ProtFileName); + WINBOOL WINAPI SfpVerifyFile(LPCSTR pszFileName,LPSTR pszError,DWORD dwErrSize); + +#ifdef __cplusplus +} +#endif +#endif
