mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
"Because of changes in winnt.h, some of security definitions must be used from there."
svn path=/trunk/; revision=2058
This commit is contained in:
parent
889f9e3c01
commit
372a3cc161
1 changed files with 8 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: SecurityDescriptor.cpp,v 1.4 2001/01/13 23:54:41 narnaoud Exp $
|
/* $Id: SecurityDescriptor.cpp,v 1.5 2001/07/14 07:01:38 narnaoud Exp $
|
||||||
*
|
*
|
||||||
* regexpl - Console Registry Explorer
|
* regexpl - Console Registry Explorer
|
||||||
*
|
*
|
||||||
|
@ -26,6 +26,7 @@
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <tchar.h>
|
||||||
#include "SecurityDescriptor.h"
|
#include "SecurityDescriptor.h"
|
||||||
|
|
||||||
#define ASSERT assert
|
#define ASSERT assert
|
||||||
|
@ -33,7 +34,7 @@
|
||||||
// *** THIS SHOULD GO IN A MINGW/ROS HEADER - Begin
|
// *** THIS SHOULD GO IN A MINGW/ROS HEADER - Begin
|
||||||
#if 1
|
#if 1
|
||||||
|
|
||||||
#define SID_REVISION (1) // Current revision level
|
//#define SID_REVISION (1) // Current revision level
|
||||||
|
|
||||||
//typedef struct _ACE_HEADER {
|
//typedef struct _ACE_HEADER {
|
||||||
// BYTE AceType;
|
// BYTE AceType;
|
||||||
|
@ -56,11 +57,11 @@ typedef ACE_HEADER * PACE_HEADER;
|
||||||
//#define SUCCESSFUL_ACCESS_ACE_FLAG (0x40)
|
//#define SUCCESSFUL_ACCESS_ACE_FLAG (0x40)
|
||||||
//#define FAILED_ACCESS_ACE_FLAG (0x80)
|
//#define FAILED_ACCESS_ACE_FLAG (0x80)
|
||||||
|
|
||||||
typedef struct _SYSTEM_AUDIT_ACE {
|
//typedef struct _SYSTEM_AUDIT_ACE {
|
||||||
ACE_HEADER Header;
|
// ACE_HEADER Header;
|
||||||
ACCESS_MASK Mask;
|
// ACCESS_MASK Mask;
|
||||||
DWORD SidStart;
|
// DWORD SidStart;
|
||||||
} SYSTEM_AUDIT_ACE;
|
//} SYSTEM_AUDIT_ACE;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// *** THIS SHOULD GO IN A MINGW/ROS HEADER - End
|
// *** THIS SHOULD GO IN A MINGW/ROS HEADER - End
|
||||||
|
|
Loading…
Reference in a new issue