source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/mdbrole.hxx

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.0 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _MDBROLE_HXX_
7#define _MDBROLE_HXX_
8
9#ifndef WINAPI
10#if defined(_ARM_)
11#define WINAPI
12#else
13#define WINAPI __stdcall
14#endif
15#endif
16
17#ifdef FASTCALL_IN_STORE
18#define __FORCENONFASTCALL WINAPI
19#else
20#define __FORCENONFASTCALL
21#endif
22
23#define ROLDLLEXP __declspec(dllimport)
24
25#if (defined(_X86_) && !defined(__x86_64))
26#define ROLEAPI __fastcall
27#else
28#define ROLEAPI
29#endif
30
31WINBOOL ROLDLLEXP ROLEAPI FRoleSid(PSID psid);
32HRESULT ROLDLLEXP ROLEAPI HrParseRoleSid(PSID psid,long cbNameBuffer,char rgchName[],ULONG *pptagrole,BYTE *prolescope);
33HRESULT ROLDLLEXP ROLEAPI HrConstructRoleSid(char *szRoleName,BYTE rolescope,ULONG ptagrole,PSID *ppsid);
34void ROLDLLEXP ROLEAPI FreeRoleSid(PSID psid);
35WINBOOL ROLDLLEXP ROLEAPI FCanonicalAcl(PACL pacl);
36WINBOOL ROLDLLEXP ROLEAPI FCanonicalAcl(PSECURITY_DESCRIPTOR pntsd);
37
38#endif
Note: See TracBrowser for help on using the repository browser.