C# Class DroidExplorer.ShellExtension.ApkShellExtension

Inheritance: IExtractIcon, IPersistFile
Datei anzeigen Open project: camalot/droidexplorer

Private Properties

Property Type Description
ExtractApkIcon System.Drawing.Icon
Register void
Unregister void

Public Methods

Method Description
ApkShellExtension ( ) : System

Initializes a new instance of the ApkShellExtension class.

Extract ( string pszFile, uint nIconIndex, IntPtr &phiconLarge, IntPtr &phiconSmall, uint nIconSize ) : uint

Extracts the icon from the specified file.

GetClassID ( System.Guid &pClassID ) : uint
GetCurFile ( string &ppszFileName ) : uint
GetIconLocation ( ExtractIconOptions uFlags, IntPtr szIconFile, uint cchMax, int &piIndex, ExtractIconFlags &pwFlags ) : uint

Get the icon location

IsDirty ( ) : uint
Load ( string pszFileName, uint dwMode ) : uint
Save ( string pszFileName, bool fRemember ) : uint
SaveCompleted ( string pszFileName ) : uint

Private Methods

Method Description
ExtractApkIcon ( ) : Icon

Extract the icon from the apk file

Register ( string s ) : void
Unregister ( string s ) : void

Method Details

ApkShellExtension() public method

Initializes a new instance of the ApkShellExtension class.
public ApkShellExtension ( ) : System
return System

Extract() public method

Extracts the icon from the specified file.
public Extract ( string pszFile, uint nIconIndex, IntPtr &phiconLarge, IntPtr &phiconSmall, uint nIconSize ) : uint
pszFile string The file.
nIconIndex uint Index of the icon.
phiconLarge System.IntPtr The phicon large.
phiconSmall System.IntPtr The phicon small.
nIconSize uint Size of the n icon.
return uint

GetClassID() public method

public GetClassID ( System.Guid &pClassID ) : uint
pClassID System.Guid
return uint

GetCurFile() public method

public GetCurFile ( string &ppszFileName ) : uint
ppszFileName string
return uint

GetIconLocation() public method

Get the icon location
public GetIconLocation ( ExtractIconOptions uFlags, IntPtr szIconFile, uint cchMax, int &piIndex, ExtractIconFlags &pwFlags ) : uint
uFlags ExtractIconOptions
szIconFile System.IntPtr
cchMax uint
piIndex int
pwFlags ExtractIconFlags
return uint

IsDirty() public method

public IsDirty ( ) : uint
return uint

Load() public method

public Load ( string pszFileName, uint dwMode ) : uint
pszFileName string
dwMode uint
return uint

Save() public method

public Save ( string pszFileName, bool fRemember ) : uint
pszFileName string
fRemember bool
return uint

SaveCompleted() public method

public SaveCompleted ( string pszFileName ) : uint
pszFileName string
return uint