Open CASCADE Technology  6.9.0
Data Structures | Macros | Typedefs | Enumerations | Functions
OSD_WNT_1.hxx File Reference
#include <windows.h>

Data Structures

struct  _group_sid
 
struct  _MB_DESC
 
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 _group_sid GROUP_SID
 
typedef struct _group_sidPGROUP_SID
 
typedef struct _MB_DESC MB_DESC
 
typedef struct _MB_DESCLPMB_DESC
 
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 }
 
enum  MB_ITEMTYPE { MBT_BUTTON, MBT_ICON }
 

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)
 
BOOL OSDAPI LookupAccountSidEx (PSID, LPWSTR *, LPWSTR *)
 
void OSDAPI FreeAccountNames (LPWSTR, LPWSTR)
 
PSID OSDAPI GetSecurityDescriptorOwnerEx (PSECURITY_DESCRIPTOR)
 
PSID OSDAPI GetSecurityDescriptorGroupEx (PSECURITY_DESCRIPTOR)
 
PACL OSDAPI GetSecurityDescriptorDaclEx (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)
 
PSID OSDAPI CopySidEx (PSID)
 
void OSDAPI FreeSidEx (PSID)
 
PGROUP_SID OSDAPI AllocGroupSid (PSECURITY_DESCRIPTOR)
 
void OSDAPI FreeGroupSid (PGROUP_SID)
 
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

#define FLAG_DEVICE   0x00000080
#define FLAG_DIRECTORY   0x00000008
#define FLAG_EOF   0x00000002
#define FLAG_FILE   0x00000004
#define FLAG_NAMED_PIPE   0x00000040
#define FLAG_PIPE   0x00000010
#define FLAG_READ_PIPE   0x00000001
#define FLAG_SOCKET   0x00000020
#define FLAG_TYPE   0x0000007C
#define GET_MSK (   pACE)
Value:
( ( PDWORD )( ( ( PBYTE )pACE ) + \
sizeof ( ACE_HEADER ) \
) \
)
#define GET_SID (   pACE)
Value:
( ( PSID )( ( ( PBYTE )pACE ) + \
sizeof ( ACE_HEADER ) + \
sizeof ( DWORD ) \
) \
)
#define HIDWORD (   a)    ( DWORD )( ( ( _int64 )( a ) ) >> 32 )
#define LODWORD (   a)    ( DWORD )( ( ( _int64 )( a ) ) & 0x00000000FFFFFFFF )
#define OSDAPI   __declspec( dllimport )
#define STRICT

Typedef Documentation

typedef void( * COPY_DIR_PROC)(LPCWSTR, LPCWSTR)
typedef void( * DELETE_DIR_PROC)(LPCWSTR)
typedef struct _file_ace FILE_ACE
typedef struct _group_sid GROUP_SID
typedef struct _MB_DESC * LPMB_DESC
typedef struct _MB_DESC MB_DESC
typedef void( * MOVE_DIR_PROC)(LPCWSTR, LPCWSTR)
typedef struct _file_ace * PFILE_ACE
typedef struct _group_sid * PGROUP_SID
typedef DIR_RESPONSE( * RESPONSE_DIR_PROC)(LPCWSTR)

Enumeration Type Documentation

Enumerator
DIR_ABORT 
DIR_RETRY 
DIR_IGNORE 
Enumerator
MBT_BUTTON 
MBT_ICON 

Function Documentation

PSID OSDAPI AdminSid ( void  )
PVOID OSDAPI AllocAccessAllowedAce ( DWORD  ,
BYTE  ,
PSID   
)
PGROUP_SID OSDAPI AllocGroupSid ( PSECURITY_DESCRIPTOR  )
PSECURITY_DESCRIPTOR OSDAPI AllocSD ( void  )
PSID OSDAPI BatchSid ( void  )
BOOL OSDAPI CopyDirectory ( LPCWSTR  ,
LPCWSTR   
)
PSID OSDAPI CopySidEx ( PSID  )
PACL OSDAPI CreateAcl ( DWORD  )
PSID OSDAPI CreatorOwnerSid ( void  )
PSID OSDAPI DialupSid ( void  )
void OSDAPI FreeAccountNames ( LPWSTR  ,
LPWSTR   
)
void OSDAPI FreeAce ( PVOID  )
void OSDAPI FreeAcl ( PACL  )
void OSDAPI FreeFileSecurity ( PSECURITY_DESCRIPTOR  )
void OSDAPI FreeGroupSid ( PGROUP_SID  )
void OSDAPI FreeSD ( PSECURITY_DESCRIPTOR  )
void OSDAPI FreeSidEx ( PSID  )
void OSDAPI FreeTokenInformation ( LPVOID  )
PSECURITY_DESCRIPTOR OSDAPI GetFileSecurityEx ( LPCWSTR  ,
SECURITY_INFORMATION   
)
PACL OSDAPI GetSecurityDescriptorDaclEx ( PSECURITY_DESCRIPTOR  )
PSID OSDAPI GetSecurityDescriptorGroupEx ( PSECURITY_DESCRIPTOR  )
PSID OSDAPI GetSecurityDescriptorOwnerEx ( PSECURITY_DESCRIPTOR  )
LPVOID OSDAPI GetTokenInformationEx ( HANDLE  ,
TOKEN_INFORMATION_CLASS   
)
PSID OSDAPI InteractiveSid ( void  )
PSID OSDAPI LocalSid ( void  )
BOOL OSDAPI LookupAccountSidEx ( PSID  ,
LPWSTR *  ,
LPWSTR *   
)
BOOL OSDAPI MoveDirectory ( LPCWSTR  ,
LPCWSTR   
)
PSID OSDAPI NetworkSid ( void  )
BOOL OSDAPI NtPredefinedSid ( PSID  )
PSID OSDAPI NtSid ( void  )
PSID OSDAPI NullSid ( void  )
BOOL OSDAPI PredefinedSid ( PSID  )
void OSDAPI SetCopyDirectoryProc ( COPY_DIR_PROC  )
void OSDAPI SetMoveDirectoryProc ( MOVE_DIR_PROC  )
void OSDAPI SetResponseDirectoryProc ( RESPONSE_DIR_PROC  )
PSID OSDAPI WorldSid ( void  )