C# 클래스 DeviceIOControlLib.Wrapper.StorageDeviceWrapper

상속: DeviceIoWrapperBase
파일 보기 프로젝트 열기: LordMike/DeviceIOControlLib 1 사용 예제들

공개 메소드들

메소드 설명
StorageDeviceWrapper ( SafeFileHandle handle, bool ownsHandle = false ) : System.Text
StorageEjectMedia ( ) : bool

Used to f.ex. open/eject CD Rom trays http://msdn.microsoft.com/en-us/library/windows/desktop/aa363406(v=vs.85).aspx

StorageGetDeviceProperty ( ) : STORAGE_DEVICE_DESCRIPTOR_PARSED
StorageLoadMedia ( ) : bool

Used to f.ex. close CD Rom trays http://msdn.microsoft.com/en-us/library/windows/desktop/aa363414(v=vs.85).aspx

메소드 상세

StorageDeviceWrapper() 공개 메소드

public StorageDeviceWrapper ( SafeFileHandle handle, bool ownsHandle = false ) : System.Text
handle Microsoft.Win32.SafeHandles.SafeFileHandle
ownsHandle bool
리턴 System.Text

StorageEjectMedia() 공개 메소드

Used to f.ex. open/eject CD Rom trays http://msdn.microsoft.com/en-us/library/windows/desktop/aa363406(v=vs.85).aspx
public StorageEjectMedia ( ) : bool
리턴 bool

StorageGetDeviceProperty() 공개 메소드

public StorageGetDeviceProperty ( ) : STORAGE_DEVICE_DESCRIPTOR_PARSED
리턴 DeviceIOControlLib.Objects.Storage.STORAGE_DEVICE_DESCRIPTOR_PARSED

StorageLoadMedia() 공개 메소드

Used to f.ex. close CD Rom trays http://msdn.microsoft.com/en-us/library/windows/desktop/aa363414(v=vs.85).aspx
public StorageLoadMedia ( ) : bool
리턴 bool