ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

sid.c File Reference
#include <advapi32.h>

Go to the source code of this file.

Data Structures

struct  RECORD
struct  MAX_SID
struct  WELLKNOWNSID
struct  LPACEFLAG
struct  WELLKNOWNRID

Defines

#define MAX_GUID_STRING_LEN   39
#define ADS_RIGHT_DS_CREATE_CHILD   0x0001
#define ADS_RIGHT_DS_DELETE_CHILD   0x0002
#define ADS_RIGHT_ACTRL_DS_LIST   0x0004
#define ADS_RIGHT_DS_SELF   0x0008
#define ADS_RIGHT_DS_READ_PROP   0x0010
#define ADS_RIGHT_DS_WRITE_PROP   0x0020
#define ADS_RIGHT_DS_DELETE_TREE   0x0040
#define ADS_RIGHT_DS_LIST_OBJECT   0x0080
#define ADS_RIGHT_DS_CONTROL_ACCESS   0x0100

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (advapi)
BOOL WINAPI AddAuditAccessAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD dwAccessMask, PSID pSid, BOOL bAuditSuccess, BOOL bAuditFailure)
static const chardebugstr_sid (PSID sid)
static __inline BOOL set_ntstatus (NTSTATUS status)
BOOL ADVAPI_GetComputerSid (PSID sid)
BOOL WINAPI AllocateLocallyUniqueId (PLUID Luid)
BOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD dwSubAuthority0, DWORD dwSubAuthority1, DWORD dwSubAuthority2, DWORD dwSubAuthority3, DWORD dwSubAuthority4, DWORD dwSubAuthority5, DWORD dwSubAuthority6, DWORD dwSubAuthority7, PSID *pSid)
BOOL WINAPI CopySid (DWORD nDestinationSidLength, PSID pDestinationSid, PSID pSourceSid)
static void DumpString (LPCWSTR string, int cch, WCHAR **pwptr, ULONG *plen)
static BOOL DumpSidNumeric (PSID psid, WCHAR **pwptr, ULONG *plen)
static BOOL DumpSid (PSID psid, WCHAR **pwptr, ULONG *plen)
static void DumpRights (DWORD mask, WCHAR **pwptr, ULONG *plen)
static BOOL DumpAce (LPVOID pace, WCHAR **pwptr, ULONG *plen)
static BOOL DumpAcl (PACL pacl, WCHAR **pwptr, ULONG *plen, BOOL protected, BOOL autoInheritReq, BOOL autoInherited)
static BOOL DumpOwner (PSECURITY_DESCRIPTOR SecurityDescriptor, WCHAR **pwptr, ULONG *plen)
static BOOL DumpGroup (PSECURITY_DESCRIPTOR SecurityDescriptor, WCHAR **pwptr, ULONG *plen)
static BOOL DumpDacl (PSECURITY_DESCRIPTOR SecurityDescriptor, WCHAR **pwptr, ULONG *plen)
static BOOL DumpSacl (PSECURITY_DESCRIPTOR SecurityDescriptor, WCHAR **pwptr, ULONG *plen)
BOOL WINAPI ConvertSecurityDescriptorToStringSecurityDescriptorW (PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD SDRevision, SECURITY_INFORMATION SecurityInformation, LPWSTR *OutputString, PULONG OutputLen)
BOOL WINAPI ConvertSecurityDescriptorToStringSecurityDescriptorA (PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD SDRevision, SECURITY_INFORMATION Information, LPSTR *OutputString, PULONG OutputLen)
static DWORD ComputeStringSidSize (LPCWSTR StringSid)
static BOOL ParseStringSidToSid (LPCWSTR StringSid, PSID pSid, LPDWORD cBytes)
static DWORD ParseAclStringFlags (LPCWSTR *StringAcl)
static BYTE ParseAceStringType (LPCWSTR *StringAcl)
static BYTE ParseAceStringFlags (LPCWSTR *StringAcl)
static DWORD ParseAceStringRights (LPCWSTR *StringAcl)
static BOOL ParseStringAclToAcl (LPCWSTR StringAcl, LPDWORD lpdwFlags, PACL pAcl, LPDWORD cBytes)
static BOOL ParseStringSecurityDescriptorToSecurityDescriptor (LPCWSTR StringSecurityDescriptor, SECURITY_DESCRIPTOR_RELATIVE *SecurityDescriptor, LPDWORD cBytes)
BOOL WINAPI ConvertStringSecurityDescriptorToSecurityDescriptorW (LPCWSTR StringSecurityDescriptor, DWORD StringSDRevision, PSECURITY_DESCRIPTOR *SecurityDescriptor, PULONG SecurityDescriptorSize)
BOOL WINAPI ConvertStringSecurityDescriptorToSecurityDescriptorA (LPCSTR StringSecurityDescriptor, DWORD StringSDRevision, PSECURITY_DESCRIPTOR *SecurityDescriptor, PULONG SecurityDescriptorSize)
BOOL WINAPI EqualPrefixSid (PSID pSid1, PSID pSid2)
BOOL WINAPI EqualSid (PSID pSid1, PSID pSid2)
PVOID WINAPI FreeSid (PSID pSid)
DWORD WINAPI GetLengthSid (PSID pSid)
PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority (PSID pSid)
DWORD WINAPI GetSidLengthRequired (UCHAR nSubAuthorityCount)
PDWORD WINAPI GetSidSubAuthority (PSID pSid, DWORD nSubAuthority)
PUCHAR WINAPI GetSidSubAuthorityCount (PSID pSid)
BOOL WINAPI InitializeSid (PSID Sid, PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount)
BOOL WINAPI IsValidSid (PSID pSid)
BOOL WINAPI ConvertSidToStringSidW (PSID Sid, LPWSTR *StringSid)
BOOL WINAPI ConvertSidToStringSidA (PSID Sid, LPSTR *StringSid)
BOOL WINAPI EqualDomainSid (IN PSID pSid1, IN PSID pSid2, OUT BOOL *pfEqual)
BOOL WINAPI GetWindowsAccountDomainSid (IN PSID pSid, OUT PSID ppDomainSid, IN OUT DWORD *cbSid)
BOOL WINAPI CreateWellKnownSid (IN WELL_KNOWN_SID_TYPE WellKnownSidType, IN PSID DomainSid OPTIONAL, OUT PSID pSid, IN OUT DWORD *cbSid)
BOOL WINAPI IsWellKnownSid (IN PSID pSid, IN WELL_KNOWN_SID_TYPE WellKnownSidType)
BOOL WINAPI ConvertStringSidToSidA (IN LPCSTR StringSid, OUT PSID *sid)
BOOL WINAPI ConvertStringSidToSidW (IN LPCWSTR StringSid, OUT PSID *sid)

Variables

static const WELLKNOWNSID WellKnownSids []
static const WELLKNOWNRID WellKnownRids []
static const SID sidWorld = { SID_REVISION, 1, { SECURITY_WORLD_SID_AUTHORITY} , { SECURITY_WORLD_RID } }
static const WCHAR SDDL_ACCESS_ALLOWED [] = {'A',0}
static const WCHAR SDDL_ACCESS_DENIED [] = {'D',0}
static const WCHAR SDDL_OBJECT_ACCESS_ALLOWED [] = {'O','A',0}
static const WCHAR SDDL_OBJECT_ACCESS_DENIED [] = {'O','D',0}
static const WCHAR SDDL_AUDIT [] = {'A','U',0}
static const WCHAR SDDL_ALARM [] = {'A','L',0}
static const WCHAR SDDL_OBJECT_AUDIT [] = {'O','U',0}
static const WCHAR SDDL_OBJECT_ALARM [] = {'O','L',0}
static const WCHAR SDDL_CONTAINER_INHERIT [] = {'C','I',0}
static const WCHAR SDDL_OBJECT_INHERIT [] = {'O','I',0}
static const WCHAR SDDL_NO_PROPAGATE [] = {'N','P',0}
static const WCHAR SDDL_INHERIT_ONLY [] = {'I','O',0}
static const WCHAR SDDL_INHERITED [] = {'I','D',0}
static const WCHAR SDDL_AUDIT_SUCCESS [] = {'S','A',0}
static const WCHAR SDDL_AUDIT_FAILURE [] = {'F','A',0}
static const ACEFLAG AceRights []
static const LPCWSTR AceRightBitNames [32]
static const ACEFLAG AceType []
static const ACEFLAG AceFlags []
static const RECORD SidTable []

Generated on Sun May 27 2012 05:06:23 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.