mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
[ADVAPI32]
* Remove unused MAX_GUID_STRING_LEN and RECORD. * Remove some unneeded forward declarations. * Reorder ACEFLAG to reduce difference to Wine. CORE-8540 svn path=/trunk/; revision=65045
This commit is contained in:
parent
16c90ce222
commit
b9febc1490
|
@ -16,26 +16,13 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
|
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
|
||||||
|
|
||||||
static DWORD ComputeStringSidSize(LPCWSTR StringSid);
|
|
||||||
static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes);
|
static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes);
|
||||||
|
|
||||||
#define MAX_GUID_STRING_LEN 39
|
typedef struct _ACEFLAG
|
||||||
|
|
||||||
BOOL WINAPI
|
|
||||||
AddAuditAccessAceEx(PACL pAcl,
|
|
||||||
DWORD dwAceRevision,
|
|
||||||
DWORD AceFlags,
|
|
||||||
DWORD dwAccessMask,
|
|
||||||
PSID pSid,
|
|
||||||
BOOL bAuditSuccess,
|
|
||||||
BOOL bAuditFailure);
|
|
||||||
|
|
||||||
typedef struct RECORD
|
|
||||||
{
|
{
|
||||||
LPCWSTR key;
|
LPCWSTR wstr;
|
||||||
DWORD value;
|
DWORD value;
|
||||||
} RECORD;
|
} ACEFLAG, *LPACEFLAG;
|
||||||
|
|
||||||
|
|
||||||
typedef struct _MAX_SID
|
typedef struct _MAX_SID
|
||||||
{
|
{
|
||||||
|
@ -53,12 +40,6 @@ typedef struct WELLKNOWNSID
|
||||||
MAX_SID Sid;
|
MAX_SID Sid;
|
||||||
} WELLKNOWNSID;
|
} WELLKNOWNSID;
|
||||||
|
|
||||||
typedef struct _ACEFLAG
|
|
||||||
{
|
|
||||||
LPCWSTR wstr;
|
|
||||||
DWORD value;
|
|
||||||
} ACEFLAG, *LPACEFLAG;
|
|
||||||
|
|
||||||
static const WELLKNOWNSID WellKnownSids[] =
|
static const WELLKNOWNSID WellKnownSids[] =
|
||||||
{
|
{
|
||||||
{ {0,0}, WinNullSid, { SID_REVISION, 1, { SECURITY_NULL_SID_AUTHORITY }, { SECURITY_NULL_RID } } },
|
{ {0,0}, WinNullSid, { SID_REVISION, 1, { SECURITY_NULL_SID_AUTHORITY }, { SECURITY_NULL_RID } } },
|
||||||
|
|
Loading…
Reference in a new issue