Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
1.2 KiB

//+---------------------------------------------------------------------------
//
// File: security.hxx
//
// Contents:
//
// Classes:
//
// History: 26-Jun-96 MarkBl Created
//
//----------------------------------------------------------------------------
#ifndef _SECURITY_HXX_
#define _SECURITY_HXX_
typedef struct _MYACE {
ACCESS_MASK AccessMask;
UCHAR InheritFlags;
PSID pSid;
} MYACE, * PMYACE;
PACCESS_ALLOWED_ACE CreateAccessAllowedAce(
PSID pSid,
ACCESS_MASK AccessMask,
UCHAR AceFlags,
UCHAR InheritFlags,
DWORD * pStatus = NULL);
PSECURITY_DESCRIPTOR CreateSecurityDescriptor(
DWORD AceCount,
MYACE rgMyAce[],
PACCESS_ALLOWED_ACE rgAce[],
DWORD * pStatus = NULL);
void DeleteSecurityDescriptor(
PSECURITY_DESCRIPTOR pSecurityDescriptor);
#endif // _SECURITY_HXX_