C# Class BExplorer.Shell.Interop.Shell32

Show file Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
FCSM_CLSID System.UInt32
FCSM_FLAGS System.UInt32
FCSM_ICONFILE System.UInt32
FCSM_INFOTIP System.UInt32
FCSM_LOGO System.UInt32
FCSM_VIEWID System.UInt32
FCSM_WEBVIEWTEMPLATE System.UInt32
FCS_FORCEWRITE System.UInt32
FCS_READ System.UInt32
FCS_WRITE System.UInt32

Public Methods

Method Description
CommandLineToArgs ( string commandLine ) : string[]
FormatDrive ( IntPtr Handle, string DriveLetter ) : uint

Format a Drive by given Drive letter

MapDrive ( IntPtr owner, String remotePath ) : void

Private Methods

Method Description
CommandLineToArgvW ( [ lpCmdLine, int &pNumArgs ) : IntPtr
CopyMemory ( IntPtr destination, NETRESOURCE source, uint length ) : void
FileIconInit ( bool bFullInit ) : bool
FlashWindow ( IntPtr hwnd, uint bInvert ) : bool
GlobalAlloc ( uint uFlags, UIntPtr dwBytes ) : IntPtr
GlobalFree ( IntPtr hMem ) : IntPtr
ILClone ( IntPtr pidl ) : IntPtr
ILCombine ( IntPtr pidl1, IntPtr pidl2 ) : IntPtr
ILFindLastID ( IntPtr pidl ) : IntPtr
ILFree ( IntPtr pidl ) : void
ILGetSize ( IntPtr pidl ) : uint
ILIsEqual ( IntPtr pidl1, IntPtr pidl2 ) : bool
ILIsParent ( IntPtr pidl1, IntPtr pidl2, bool fImmediate ) : bool
ILRemoveLastID ( IntPtr pidl ) : bool
PathIsNetworkPath ( string pszPath ) : bool
PidlFromParsingName ( string name ) : IntPtr
SHAssocEnumHandlers ( [ pszExtra, [ afFilter, IntPtr &ppEnumHandler ) : HResult
SHChangeNotification_Lock ( IntPtr windowHandle, int processId, IntPtr &pidl, uint &lEvent ) : IntPtr
SHChangeNotification_Unlock ( IntPtr hLock ) : System.Boolean
SHChangeNotify ( HChangeNotifyEventID wEventId, HChangeNotifyFlags uFlags, IntPtr dwItem1, IntPtr dwItem2 ) : void
SHChangeNotifyRegister ( IntPtr hWnd, SHCNRF fSources, SHCNE fEvents, uint wMsg, int cEntries, SHChangeNotifyEntry &pFsne ) : uint
SHChangeNotifyUnregister ( uint hNotify ) : bool
SHCreateDirectory ( IntPtr hwnd, string pszPath ) : ERROR
SHCreateItemFromIDList ( [ pidl, [ riid ) : IShellItem
SHCreateItemFromParsingName ( [ pszPath, [ pbc, [ riid ) : IShellItem
SHCreateItemWithParent ( [ pidlParent, [ psfParent, [ pidl, [ riid ) : IShellItem
SHCreateShellItemArrayFromDataObject ( [ pdo, [ riid, [ ppv ) : void
SHCreateShellItemArrayFromIDLists ( [ cidl, [ rgpidl, [ ppv ) : void
SHEmptyRecycleBin ( IntPtr hWnd, string pszRootPath, uint dwFlags ) : int
SHFormatDrive ( IntPtr hwnd, uint drive, SHFormatFlags fmtID, SHFormatOptions options ) : uint
SHGetDesktopFolder ( ) : IShellFolder
SHGetFileInfo ( IntPtr pszPath, int dwFileAttributes, SHFILEINFO &psfi, int cbFileInfo, SHGFI uFlags ) : IntPtr
SHGetFolderPath ( [ hwndOwner, [ nFolder, [ hToken, [ dwFlags, [ pszPath ) : HResult
SHGetIDListFromObject ( [ punk ) : IntPtr
SHGetPathFromIDList ( [ pidl, [ pszPath ) : bool
SHGetSetFolderCustomSettings ( LPSHFOLDERCUSTOMSETTINGS &pfcs, string pszPath, UInt32 dwReadWrite ) : HResult
SHGetSetSettings ( SHELLSTATE &lpss, SSF dwMask, bool bSet ) : void
SHGetSpecialFolderLocation ( IntPtr hwndOwner, CSIDL nFolder, IntPtr &ppidl ) : HResult
SHGetStockIconInfo ( SHSTOCKICONID siid, SHGSI uFlags, SHSTOCKICONINFO &psii ) : Int32
SHObjectProperties ( IntPtr hwnd, uint shopObjectType, [ pszObjectName, [ pszPropertyPage ) : bool
SHParseDisplayName ( [ name, IntPtr bindingContext, [ pidl, uint sfgaoIn, [ psfgaoOut ) : void
SHQueryRecycleBin ( String pszRootPath, SHQUERYRBINFO &pSHQueryRBInfo ) : int
SHShowManageLibraryUI ( [ library, [ hwndOwner, [ title, [ instruction, [ lmdOptions ) : int
SHUpdateImage ( string pszHashItem, int iIndex, uint uFlags, int iImageIndex ) : void
SetCurrentProcessExplicitAppUserModelID ( [ AppID ) : void
SetProcessWorkingSetSize ( IntPtr proc, int min, int max ) : bool
Shell_GetCachedImageIndex ( string pwszIconPath, int iIconIndex, uint uIconFlags ) : int
Shell_GetImageLists ( IntPtr &lphimlLarge, IntPtr &lphimlSmall ) : bool
ShowShareFolderUI ( IntPtr hwndParent, IntPtr pszPath ) : HResult
WNetConnectionDialog ( IntPtr whnd, int dwType ) : int
WNetConnectionDialog1 ( ConnectDialogInfo connDlgStruct ) : int
WNetDisconnectDialog ( IntPtr whnd, int dwType ) : int

Method Details

CommandLineToArgs() public static method

public static CommandLineToArgs ( string commandLine ) : string[]
commandLine string
return string[]

FormatDrive() public static method

Format a Drive by given Drive letter
public static FormatDrive ( IntPtr Handle, string DriveLetter ) : uint
Handle System.IntPtr
DriveLetter string The Drive letter
return uint

MapDrive() public static method

public static MapDrive ( IntPtr owner, String remotePath ) : void
owner System.IntPtr
remotePath String
return void

Property Details

FCSM_CLSID public static property

public static UInt32,System FCSM_CLSID
return System.UInt32

FCSM_FLAGS public static property

public static UInt32,System FCSM_FLAGS
return System.UInt32

FCSM_ICONFILE public static property

public static UInt32,System FCSM_ICONFILE
return System.UInt32

FCSM_INFOTIP public static property

public static UInt32,System FCSM_INFOTIP
return System.UInt32

FCSM_LOGO public static property

public static UInt32,System FCSM_LOGO
return System.UInt32

FCSM_VIEWID public static property

public static UInt32,System FCSM_VIEWID
return System.UInt32

FCSM_WEBVIEWTEMPLATE public static property

public static UInt32,System FCSM_WEBVIEWTEMPLATE
return System.UInt32

FCS_FORCEWRITE public static property

public static UInt32,System FCS_FORCEWRITE
return System.UInt32

FCS_READ public static property

public static UInt32,System FCS_READ
return System.UInt32

FCS_WRITE public static property

public static UInt32,System FCS_WRITE
return System.UInt32