88 &AdministratorsSid) ||
101 DPRINT1(
"Failed initializing the SIDs for the default security descriptor (0x%p, 0x%p, 0x%p)\n",
118 DPRINT1(
"Failed to allocate the default security descriptor and ACL\n");
125 DPRINT1(
"Failed to initialize the default security descriptor\n");
135 DPRINT1(
"Failed to initialize the DACL of the default security descriptor\n");
145 DPRINT1(
"Failed to add the SYSTEM ACE\n");
155 DPRINT1(
"Failed to add the Administrators ACE\n");
165 DPRINT1(
"Failed to add the Everyone ACE\n");
175 DPRINT1(
"Failed to set the DACL of the default security descriptor\n");
189 if (AdministratorsSid !=
NULL)
193 if (EveryoneSid !=
NULL)
BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid)
BOOL WINAPI InitializeAcl(PACL pAcl, DWORD nAclLength, DWORD dwAclRevision)
BOOL WINAPI InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD dwRevision)
BOOL WINAPI AddAccessAllowedAce(PACL pAcl, DWORD dwAceRevision, DWORD AccessMask, PSID pSid)
DWORD WINAPI GetLengthSid(PSID pSid)
PVOID WINAPI FreeSid(PSID pSid)
#define GetProcAddress(x, y)
SID_IDENTIFIER_AUTHORITY WorldAuthority
LPWSTR AppendBackslash(LPWSTR String)
PSECURITY_DESCRIPTOR CreateDefaultSecurityDescriptor(VOID)
BOOL LoadDynamicImports(PDYN_MODULE Module, PDYN_FUNCS DynFuncs)
SID_IDENTIFIER_AUTHORITY LocalSystemAuthority
VOID UnloadDynamicImports(PDYN_FUNCS DynFuncs)
static const WCHAR Cleanup[]
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
struct _SECURITY_DESCRIPTOR * PSECURITY_DESCRIPTOR
struct _SECURITY_DESCRIPTOR SECURITY_DESCRIPTOR
_Out_writes_bytes_to_opt_ AbsoluteSecurityDescriptorSize PSECURITY_DESCRIPTOR _Inout_ PULONG _Out_writes_bytes_to_opt_ DaclSize PACL Dacl
_Out_writes_bytes_to_opt_ AbsoluteSecurityDescriptorSize PSECURITY_DESCRIPTOR _Inout_ PULONG _Out_writes_bytes_to_opt_ DaclSize PACL _Inout_ PULONG DaclSize
_In_ ULONG _In_ ULONG _In_ ULONG Length
BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR pSecurityDescriptor, BOOL bDaclPresent, PACL pDacl, BOOL bDaclDefaulted)
union _DYN_FUNCS::@569 fn
#define FIELD_OFFSET(t, f)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
static GLenum _GLUfuncptr fn
#define SECURITY_BUILTIN_DOMAIN_RID
#define SECURITY_WORLD_SID_AUTHORITY
#define SECURITY_WORLD_RID
#define SECURITY_LOCAL_SYSTEM_RID
#define SECURITY_NT_AUTHORITY
#define SECURITY_DESCRIPTOR_REVISION
#define DOMAIN_ALIAS_RID_ADMINS