//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1996 - 1999 // // File: rshx32.h // // Remote administration shell extension. // //-------------------------------------------------------------------------- #ifndef _RSHX32_H_ #define _RSHX32_H_ #ifndef UNICODE #error "No ANSI support yet" #endif extern "C" { #include // for SE_TAKE_OWNERSHIP_PRIVILEGE, etc #include #include #include // RtlObjectAceSid, etc. #include // RtlpOwnerAddrSecurityDescriptor, etc. } #define INC_OLE2 #include #include "resource.h" // resource IDs #ifndef RC_INVOKED #include #include // HDROP, ShellExecuteEx #include // CF_IDLIST #include // StrChr #include // property page stuff #include // DPA #include #include #include #include "cstrings.h" #include "util.h" extern "C" { #include "authz.h" } #include "ntfssi.h" #include "printsi.h" #if(_WIN32_WINNT >= 0x0500) #include // ILCombine #else // _WIN32_WINNT < 0x0500 #define ILIsEmpty(pidl) ((pidl)->mkid.cb==0) STDAPI_(void) ILFree(LPITEMIDLIST pidl); STDAPI_(LPITEMIDLIST) ILCombine(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2); #endif // _WIN32_WINNT < 0x0500 #define ALL_SECURITY_ACCESS (READ_CONTROL | WRITE_DAC | WRITE_OWNER | ACCESS_SYSTEM_SECURITY) // Magic debug flags #define TRACE_RSHX32 0x00000001 #define TRACE_SI 0x00000002 #define TRACE_NTFSSI 0x00000004 #define TRACE_PRINTSI 0x00000008 #define TRACE_UTIL 0x00000010 #define TRACE_NTFSCOMPARE 0x00000020 #define TRACE_ALWAYS 0xffffffff // use with caution // // Global variables // extern HINSTANCE g_hInstance; extern LONG g_cRefThisDll; extern CLIPFORMAT g_cfShellIDList; extern CLIPFORMAT g_cfPrinterGroup; extern CLIPFORMAT g_cfMountedVolume; #endif // RC_INVOKED #endif // _RSHX32_H_