comparison fuhtark_test/include/winapi/mdbrole.hxx @ 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 _MDBROLE_HXX_
7 #define _MDBROLE_HXX_
8
9 #ifndef WINAPI
10 #define WINAPI __stdcall
11 #endif
12
13 #ifdef FASTCALL_IN_STORE
14 #define __FORCENONFASTCALL WINAPI
15 #else
16 #define __FORCENONFASTCALL
17 #endif
18
19 #define ROLDLLEXP __declspec(dllimport)
20
21 #if (defined(_X86_) && !defined(__x86_64))
22 #define ROLEAPI __fastcall
23 #else
24 #define ROLEAPI
25 #endif
26
27 WINBOOL ROLDLLEXP ROLEAPI FRoleSid(PSID psid);
28 HRESULT ROLDLLEXP ROLEAPI HrParseRoleSid(PSID psid,long cbNameBuffer,char rgchName[],ULONG *pptagrole,BYTE *prolescope);
29 HRESULT ROLDLLEXP ROLEAPI HrConstructRoleSid(char *szRoleName,BYTE rolescope,ULONG ptagrole,PSID *ppsid);
30 void ROLDLLEXP ROLEAPI FreeRoleSid(PSID psid);
31 WINBOOL ROLDLLEXP ROLEAPI FCanonicalAcl(PACL pacl);
32 WINBOOL ROLDLLEXP ROLEAPI FCanonicalAcl(PSECURITY_DESCRIPTOR pntsd);
33
34 #endif