windows-nt/Source/XPSP1/NT/admin/services/sched/inc/security.hxx

37 lines
1.2 KiB
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// 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_