Open CASCADE Technology  7.6.0
Data Structures | Macros | Typedefs | Enumerations | Functions

OSD_WNT.hxx File Reference

#include <windows.h>

Data Structures

struct  _file_ace
 

Macros

#define STRICT
 
#define FLAG_READ_PIPE   0x00000001
 
#define FLAG_EOF   0x00000002
 
#define FLAG_FILE   0x00000004
 
#define FLAG_DIRECTORY   0x00000008
 
#define FLAG_PIPE   0x00000010
 
#define FLAG_SOCKET   0x00000020
 
#define FLAG_NAMED_PIPE   0x00000040
 
#define FLAG_DEVICE   0x00000080
 
#define FLAG_TYPE   0x0000007C
 
#define LODWORD(a)   ( DWORD )( ( ( _int64 )( a ) ) & 0x00000000FFFFFFFF )
 
#define HIDWORD(a)   ( DWORD )( ( ( _int64 )( a ) ) >> 32 )
 
#define GET_SID(pACE)
 
#define GET_MSK(pACE)
 

Typedefs

typedef struct _file_ace FILE_ACE
 
typedef struct _file_acePFILE_ACE
 
typedef void(* MOVE_DIR_PROC) (LPCWSTR, LPCWSTR)
 
typedef void(* COPY_DIR_PROC) (LPCWSTR, LPCWSTR)
 
typedef void(* DELETE_DIR_PROC) (LPCWSTR)
 
typedef DIR_RESPONSE(* RESPONSE_DIR_PROC) (LPCWSTR)
 

Enumerations

enum  DIR_RESPONSE { DIR_ABORT , DIR_RETRY , DIR_IGNORE }
 

Functions

PSECURITY_DESCRIPTOR AllocSD (void)
 
void FreeSD (PSECURITY_DESCRIPTOR)
 
LPVOID GetTokenInformationEx (HANDLE, TOKEN_INFORMATION_CLASS)
 
void FreeTokenInformation (LPVOID)
 
PSECURITY_DESCRIPTOR GetFileSecurityEx (LPCWSTR, SECURITY_INFORMATION)
 
void FreeFileSecurity (PSECURITY_DESCRIPTOR)
 
PACL CreateAcl (DWORD)
 
void FreeAcl (PACL)
 
BOOL PredefinedSid (PSID)
 
BOOL NtPredefinedSid (PSID)
 
PSID AdminSid (void)
 
PSID WorldSid (void)
 
PSID InteractiveSid (void)
 
PSID NetworkSid (void)
 
PSID LocalSid (void)
 
PSID DialupSid (void)
 
PSID BatchSid (void)
 
PSID CreatorOwnerSid (void)
 
PSID NullSid (void)
 
PSID NtSid (void)
 
PVOID AllocAccessAllowedAce (DWORD, BYTE, PSID)
 
void FreeAce (PVOID)
 
BOOL MoveDirectory (LPCWSTR, LPCWSTR)
 
BOOL CopyDirectory (LPCWSTR, LPCWSTR)
 
void SetMoveDirectoryProc (MOVE_DIR_PROC)
 
void SetCopyDirectoryProc (COPY_DIR_PROC)
 
void SetResponseDirectoryProc (RESPONSE_DIR_PROC)
 

Macro Definition Documentation

◆ FLAG_DEVICE

#define FLAG_DEVICE   0x00000080

◆ FLAG_DIRECTORY

#define FLAG_DIRECTORY   0x00000008

◆ FLAG_EOF

#define FLAG_EOF   0x00000002

◆ FLAG_FILE

#define FLAG_FILE   0x00000004

◆ FLAG_NAMED_PIPE

#define FLAG_NAMED_PIPE   0x00000040

◆ FLAG_PIPE

#define FLAG_PIPE   0x00000010

◆ FLAG_READ_PIPE

#define FLAG_READ_PIPE   0x00000001

◆ FLAG_SOCKET

#define FLAG_SOCKET   0x00000020

◆ FLAG_TYPE

#define FLAG_TYPE   0x0000007C

◆ GET_MSK

#define GET_MSK (   pACE)
Value:
( ( PDWORD )( ( ( PBYTE )pACE ) + \
sizeof ( ACE_HEADER ) \
) \
)

◆ GET_SID

#define GET_SID (   pACE)
Value:
( ( PSID )( ( ( PBYTE )pACE ) + \
sizeof ( ACE_HEADER ) + \
sizeof ( DWORD ) \
) \
)

◆ HIDWORD

#define HIDWORD (   a)    ( DWORD )( ( ( _int64 )( a ) ) >> 32 )

◆ LODWORD

#define LODWORD (   a)    ( DWORD )( ( ( _int64 )( a ) ) & 0x00000000FFFFFFFF )

◆ STRICT

#define STRICT

Typedef Documentation

◆ COPY_DIR_PROC

typedef void( * COPY_DIR_PROC) (LPCWSTR, LPCWSTR)

◆ DELETE_DIR_PROC

typedef void( * DELETE_DIR_PROC) (LPCWSTR)

◆ FILE_ACE

typedef struct _file_ace FILE_ACE

◆ MOVE_DIR_PROC

typedef void( * MOVE_DIR_PROC) (LPCWSTR, LPCWSTR)

◆ PFILE_ACE

typedef struct _file_ace * PFILE_ACE

◆ RESPONSE_DIR_PROC

typedef DIR_RESPONSE( * RESPONSE_DIR_PROC) (LPCWSTR)

Enumeration Type Documentation

◆ DIR_RESPONSE

Enumerator
DIR_ABORT 
DIR_RETRY 
DIR_IGNORE 

Function Documentation

◆ AdminSid()

PSID AdminSid ( void  )

◆ AllocAccessAllowedAce()

PVOID AllocAccessAllowedAce ( DWORD  ,
BYTE  ,
PSID   
)

◆ AllocSD()

PSECURITY_DESCRIPTOR AllocSD ( void  )

◆ BatchSid()

PSID BatchSid ( void  )

◆ CopyDirectory()

BOOL CopyDirectory ( LPCWSTR  ,
LPCWSTR   
)

◆ CreateAcl()

PACL CreateAcl ( DWORD  )

◆ CreatorOwnerSid()

PSID CreatorOwnerSid ( void  )

◆ DialupSid()

PSID DialupSid ( void  )

◆ FreeAce()

void FreeAce ( PVOID  )

◆ FreeAcl()

void FreeAcl ( PACL  )

◆ FreeFileSecurity()

void FreeFileSecurity ( PSECURITY_DESCRIPTOR  )

◆ FreeSD()

void FreeSD ( PSECURITY_DESCRIPTOR  )

◆ FreeTokenInformation()

void FreeTokenInformation ( LPVOID  )

◆ GetFileSecurityEx()

PSECURITY_DESCRIPTOR GetFileSecurityEx ( LPCWSTR  ,
SECURITY_INFORMATION   
)

◆ GetTokenInformationEx()

LPVOID GetTokenInformationEx ( HANDLE  ,
TOKEN_INFORMATION_CLASS   
)

◆ InteractiveSid()

PSID InteractiveSid ( void  )

◆ LocalSid()

PSID LocalSid ( void  )

◆ MoveDirectory()

BOOL MoveDirectory ( LPCWSTR  ,
LPCWSTR   
)

◆ NetworkSid()

PSID NetworkSid ( void  )

◆ NtPredefinedSid()

BOOL NtPredefinedSid ( PSID  )

◆ NtSid()

PSID NtSid ( void  )

◆ NullSid()

PSID NullSid ( void  )

◆ PredefinedSid()

BOOL PredefinedSid ( PSID  )

◆ SetCopyDirectoryProc()

void SetCopyDirectoryProc ( COPY_DIR_PROC  )

◆ SetMoveDirectoryProc()

void SetMoveDirectoryProc ( MOVE_DIR_PROC  )

◆ SetResponseDirectoryProc()

void SetResponseDirectoryProc ( RESPONSE_DIR_PROC  )

◆ WorldSid()

PSID WorldSid ( void  )