C# 클래스 BetterExplorer.UsbEject.DeviceClass

A generic base class for physical device classes.
상속: IDisposable
파일 보기 프로젝트 열기: Gainedge/BetterExplorer 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

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

보호된 메소드들

메소드 설명
DeviceClass ( System.Guid classGuid ) : System
DeviceClass ( System.Guid classGuid, IntPtr hwndParent ) : System

Initializes a new instance of the DeviceClass class.

비공개 메소드들

메소드 설명
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

메소드 상세

DeviceClass() 보호된 메소드

protected DeviceClass ( System.Guid classGuid ) : System
classGuid System.Guid
리턴 System

DeviceClass() 보호된 메소드

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.
리턴 System

Dispose() 공개 메소드

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