IGLib  1.5
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
SecurityNative Class Reference

More...

Public Member Functions

static bool SetSecurityDescriptorDacl (ref SECURITY_DESCRIPTOR sd, bool bDaclPresent, IntPtr Dacl, bool bDaclDefaulted)
 Sets the security descriptor attributes. More...
 
static bool InitializeSecurityDescriptor (out SECURITY_DESCRIPTOR sd, int dwRevision)
 Initializes a SECURITY_DESCRIPTOR structure. More...
 
static bool SetSecurityDescriptorDacl (ref SECURITY_DESCRIPTOR sd, bool bDaclPresent, IntPtr Dacl, bool bDaclDefaulted)
 Sets the security descriptor attributes. More...
 
static bool InitializeSecurityDescriptor (out SECURITY_DESCRIPTOR sd, int dwRevision)
 Initializes a SECURITY_DESCRIPTOR structure. More...
 
static bool SetSecurityDescriptorDacl (ref SECURITY_DESCRIPTOR sd, bool bDaclPresent, IntPtr Dacl, bool bDaclDefaulted)
 Sets the security descriptor attributes. More...
 
static bool InitializeSecurityDescriptor (out SECURITY_DESCRIPTOR sd, int dwRevision)
 Initializes a SECURITY_DESCRIPTOR structure. More...
 
static bool SetSecurityDescriptorDacl (ref SECURITY_DESCRIPTOR sd, bool bDaclPresent, IntPtr Dacl, bool bDaclDefaulted)
 Sets the security descriptor attributes. More...
 
static bool InitializeSecurityDescriptor (out SECURITY_DESCRIPTOR sd, int dwRevision)
 Initializes a SECURITY_DESCRIPTOR structure. More...
 

Detailed Description

Member Function Documentation

static bool SecurityNative.SetSecurityDescriptorDacl ( ref SECURITY_DESCRIPTOR  sd,
bool  bDaclPresent,
IntPtr  Dacl,
bool  bDaclDefaulted 
)

Sets the security descriptor attributes.

Parameters
sdReference to a SECURITY_DESCRIPTOR structure.
bDaclPresentA flag that indicates the presence of a DACL in the security descriptor.
DaclA pointer to an ACL structure that specifies the DACL for the security descriptor.
bDaclDefaultedA flag that indicates the source of the DACL.
Returns
If the function succeeds, the function returns nonzero.

Referenced by Program.answerSNMP(), Program.listenToSNMP(), Program.Main(), and Program.PInvokeNativePipeServer().

static bool SecurityNative.InitializeSecurityDescriptor ( out SECURITY_DESCRIPTOR  sd,
int  dwRevision 
)

Initializes a SECURITY_DESCRIPTOR structure.

Parameters
sd
dwRevision
Returns

Referenced by Program.answerSNMP(), Program.listenToSNMP(), Program.Main(), and Program.PInvokeNativePipeServer().

static bool SecurityNative.SetSecurityDescriptorDacl ( ref SECURITY_DESCRIPTOR  sd,
bool  bDaclPresent,
IntPtr  Dacl,
bool  bDaclDefaulted 
)

Sets the security descriptor attributes.

Parameters
sdReference to a SECURITY_DESCRIPTOR structure.
bDaclPresentA flag that indicates the presence of a DACL in the security descriptor.
DaclA pointer to an ACL structure that specifies the DACL for the security descriptor.
bDaclDefaultedA flag that indicates the source of the DACL.
Returns
If the function succeeds, the function returns nonzero.
static bool SecurityNative.InitializeSecurityDescriptor ( out SECURITY_DESCRIPTOR  sd,
int  dwRevision 
)

Initializes a SECURITY_DESCRIPTOR structure.

Parameters
sd
dwRevision
Returns
static bool SecurityNative.SetSecurityDescriptorDacl ( ref SECURITY_DESCRIPTOR  sd,
bool  bDaclPresent,
IntPtr  Dacl,
bool  bDaclDefaulted 
)

Sets the security descriptor attributes.

Parameters
sdReference to a SECURITY_DESCRIPTOR structure.
bDaclPresentA flag that indicates the presence of a DACL in the security descriptor.
DaclA pointer to an ACL structure that specifies the DACL for the security descriptor.
bDaclDefaultedA flag that indicates the source of the DACL.
Returns
If the function succeeds, the function returns nonzero.
static bool SecurityNative.InitializeSecurityDescriptor ( out SECURITY_DESCRIPTOR  sd,
int  dwRevision 
)

Initializes a SECURITY_DESCRIPTOR structure.

Parameters
sd
dwRevision
Returns
static bool SecurityNative.SetSecurityDescriptorDacl ( ref SECURITY_DESCRIPTOR  sd,
bool  bDaclPresent,
IntPtr  Dacl,
bool  bDaclDefaulted 
)

Sets the security descriptor attributes.

Parameters
sdReference to a SECURITY_DESCRIPTOR structure.
bDaclPresentA flag that indicates the presence of a DACL in the security descriptor.
DaclA pointer to an ACL structure that specifies the DACL for the security descriptor.
bDaclDefaultedA flag that indicates the source of the DACL.
Returns
If the function succeeds, the function returns nonzero.
static bool SecurityNative.InitializeSecurityDescriptor ( out SECURITY_DESCRIPTOR  sd,
int  dwRevision 
)

Initializes a SECURITY_DESCRIPTOR structure.

Parameters
sd
dwRevision
Returns

The documentation for this class was generated from the following files: