ReactOS 0.4.15-dev-7834-g00c4b3d
SecurityDescriptor.h
Go to the documentation of this file.
1//
2// SecurityDescriptor.h: interface for the CSecurityDescriptor class.
3//
5
6#if !defined(SECURITYDESCRIPTOR_H__71D0A7E6_8A00_11D3_9103_204C4F4F5020__INCLUDED_)
7#define SECURITYDESCRIPTOR_H__71D0A7E6_8A00_11D3_9103_204C4F4F5020__INCLUDED_
8
10 PSID pSid, // binary Sid
11 LPTSTR TextualSid, // buffer for Textual representation of Sid
12 LPDWORD lpdwBufferLen // required/provided TextualSid buffersize
13 );
14
16
18{
19public:
20 void GetCurrentACE_Flags(BYTE& bFlags);
21 void GetCurrentACE_AccessMask(DWORD& dwMask);
24 {
29 };
31 ACEntryType GetSACLEntry(DWORD nIndex, BOOL& blnFailedAccess, BOOL& blnSeccessfulAccess);
42 void AssociateDescriptor(PSECURITY_DESCRIPTOR pSecurityDescriptor);
44 virtual ~CSecurityDescriptor();
45private:
54};
55
56#endif // !defined(SECURITYDESCRIPTOR_H__71D0A7E6_8A00_11D3_9103_204C4F4F5020__INCLUDED_)
const TCHAR * GetSidTypeName(SID_NAME_USE Use)
BOOL GetTextualSid(PSID pSid, LPTSTR TextualSid, LPDWORD lpdwBufferLen)
void AssociateDescriptor(PSECURITY_DESCRIPTOR pSecurityDescriptor)
ACEntryType GetDACLEntry(DWORD nIndex)
PSECURITY_DESCRIPTOR m_pSecurityDescriptor
ACEntryType GetSACLEntry(DWORD nIndex, BOOL &blnFailedAccess, BOOL &blnSeccessfulAccess)
void GetCurrentACE_Flags(BYTE &bFlags)
ACE_HEADER * m_pCurrentACEHeader
void GetCurrentACE_AccessMask(DWORD &dwMask)
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
enum _SID_NAME_USE SID_NAME_USE
static PSID pSid
Definition: security.c:74
uint32_t * LPDWORD
Definition: typedefs.h:59
char TCHAR
Definition: xmlstorage.h:189
CHAR * LPTSTR
Definition: xmlstorage.h:192
unsigned char BYTE
Definition: xxhash.c:193