windows-nt/Source/XPSP1/NT/ds/security/authz/test/makesd/makesd.h
2020-09-26 16:20:57 +08:00

26 lines
592 B
C

#pragma once
#include "pch.h"
void FreeSecurityDescriptor2(
IN PSECURITY_DESCRIPTOR pSd
);
#define CREATE_SD_DACL_PRESENT 0x0001
#define CREATE_SD_SACL_PRESENT 0x0002
EXTERN_C
BOOL
WINAPI
CreateSecurityDescriptor2(
OUT PSECURITY_DESCRIPTOR * ppSd,
IN const DWORD dwOptions,
IN const SECURITY_DESCRIPTOR_CONTROL sControl,
IN const PSID psOwner,
IN const PSID psGroup,
IN const DWORD dwNumDaclAces,
IN const DWORD dwNumSaclAces,
...
);