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

OSD_WNT_1.hxx File Reference

#include <windows.h>

Data Structures

struct  _file_ace
 

Macros

#define STRICT
 
#define OSDAPI   __declspec( dllimport )
 
#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 OSDAPI AllocSD (void)
 
void OSDAPI FreeSD (PSECURITY_DESCRIPTOR)
 
LPVOID OSDAPI GetTokenInformationEx (HANDLE, TOKEN_INFORMATION_CLASS)
 
void OSDAPI FreeTokenInformation (LPVOID)
 
PSECURITY_DESCRIPTOR OSDAPI GetFileSecurityEx (LPCWSTR, SECURITY_INFORMATION)
 
void OSDAPI FreeFileSecurity (PSECURITY_DESCRIPTOR)
 
PACL OSDAPI CreateAcl (DWORD)
 
void OSDAPI FreeAcl (PACL)
 
BOOL OSDAPI PredefinedSid (PSID)
 
BOOL OSDAPI NtPredefinedSid (PSID)
 
PSID OSDAPI AdminSid (void)
 
PSID OSDAPI WorldSid (void)
 
PSID OSDAPI InteractiveSid (void)
 
PSID OSDAPI NetworkSid (void)
 
PSID OSDAPI LocalSid (void)
 
PSID OSDAPI DialupSid (void)
 
PSID OSDAPI BatchSid (void)
 
PSID OSDAPI CreatorOwnerSid (void)
 
PSID OSDAPI NullSid (void)
 
PSID OSDAPI NtSid (void)
 
PVOID OSDAPI AllocAccessAllowedAce (DWORD, BYTE, PSID)
 
void OSDAPI FreeAce (PVOID)
 
BOOL OSDAPI MoveDirectory (LPCWSTR, LPCWSTR)
 
BOOL OSDAPI CopyDirectory (LPCWSTR, LPCWSTR)
 
void OSDAPI SetMoveDirectoryProc (MOVE_DIR_PROC)
 
void OSDAPI SetCopyDirectoryProc (COPY_DIR_PROC)
 
void OSDAPI 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 )

◆ OSDAPI

#define OSDAPI   __declspec( dllimport )

◆ 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 OSDAPI AdminSid ( void  )

◆ AllocAccessAllowedAce()

PVOID OSDAPI AllocAccessAllowedAce ( DWORD  ,
BYTE  ,
PSID   
)

◆ AllocSD()

PSECURITY_DESCRIPTOR OSDAPI AllocSD ( void  )

◆ BatchSid()

PSID OSDAPI BatchSid ( void  )

◆ CopyDirectory()

BOOL OSDAPI CopyDirectory ( LPCWSTR  ,
LPCWSTR   
)

◆ CreateAcl()

PACL OSDAPI CreateAcl ( DWORD  )

◆ CreatorOwnerSid()

PSID OSDAPI CreatorOwnerSid ( void  )

◆ DialupSid()

PSID OSDAPI DialupSid ( void  )

◆ FreeAce()

void OSDAPI FreeAce ( PVOID  )

◆ FreeAcl()

void OSDAPI FreeAcl ( PACL  )

◆ FreeFileSecurity()

void OSDAPI FreeFileSecurity ( PSECURITY_DESCRIPTOR  )

◆ FreeSD()

void OSDAPI FreeSD ( PSECURITY_DESCRIPTOR  )

◆ FreeTokenInformation()

void OSDAPI FreeTokenInformation ( LPVOID  )

◆ GetFileSecurityEx()

PSECURITY_DESCRIPTOR OSDAPI GetFileSecurityEx ( LPCWSTR  ,
SECURITY_INFORMATION   
)

◆ GetTokenInformationEx()

LPVOID OSDAPI GetTokenInformationEx ( HANDLE  ,
TOKEN_INFORMATION_CLASS   
)

◆ InteractiveSid()

PSID OSDAPI InteractiveSid ( void  )

◆ LocalSid()

PSID OSDAPI LocalSid ( void  )

◆ MoveDirectory()

BOOL OSDAPI MoveDirectory ( LPCWSTR  ,
LPCWSTR   
)

◆ NetworkSid()

PSID OSDAPI NetworkSid ( void  )

◆ NtPredefinedSid()

BOOL OSDAPI NtPredefinedSid ( PSID  )

◆ NtSid()

PSID OSDAPI NtSid ( void  )

◆ NullSid()

PSID OSDAPI NullSid ( void  )

◆ PredefinedSid()

BOOL OSDAPI PredefinedSid ( PSID  )

◆ SetCopyDirectoryProc()

void OSDAPI SetCopyDirectoryProc ( COPY_DIR_PROC  )

◆ SetMoveDirectoryProc()

void OSDAPI SetMoveDirectoryProc ( MOVE_DIR_PROC  )

◆ SetResponseDirectoryProc()

void OSDAPI SetResponseDirectoryProc ( RESPONSE_DIR_PROC  )

◆ WorldSid()

PSID OSDAPI WorldSid ( void  )