C# Class BetterExplorer.UsbEject.DeviceClass

A generic base class for physical device classes.
Inheritance: IDisposable
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Méthodes protégées

Méthode Description
DeviceClass ( System.Guid classGuid ) : System
DeviceClass ( System.Guid classGuid, IntPtr hwndParent ) : System

Initializes a new instance of the DeviceClass class.

Private Methods

Méthode Description
CreateDevice ( DeviceClass deviceClass, Native deviceInfoData, string path, int index ) : Device
GetInfo ( int dnDevInst ) : Native.SP_DEVINFO_DATA
GetProperty ( Native devData, int property, System.Guid defaultValue ) : System.Guid
GetProperty ( Native devData, int property, int defaultValue ) : int
GetProperty ( Native devData, int property, string defaultValue ) : string

Method Details

DeviceClass() protected méthode

protected DeviceClass ( System.Guid classGuid ) : System
classGuid System.Guid
Résultat System

DeviceClass() protected méthode

Initializes a new instance of the DeviceClass class.
protected DeviceClass ( System.Guid classGuid, IntPtr hwndParent ) : System
classGuid System.Guid A device class Guid.
hwndParent System.IntPtr The handle of the top-level window to be used for any user interface or IntPtr.Zero for no handle.
Résultat System

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void