C# Class DeviceIOControlLib.Wrapper.StorageDeviceWrapper

Inheritance: DeviceIoWrapperBase
Afficher le fichier Open project: LordMike/DeviceIOControlLib Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

StorageDeviceWrapper() public méthode

public StorageDeviceWrapper ( SafeFileHandle handle, bool ownsHandle = false ) : System.Text
handle Microsoft.Win32.SafeHandles.SafeFileHandle
ownsHandle bool
Résultat System.Text

StorageEjectMedia() public méthode

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
Résultat bool

StorageGetDeviceProperty() public méthode

public StorageGetDeviceProperty ( ) : STORAGE_DEVICE_DESCRIPTOR_PARSED
Résultat DeviceIOControlLib.Objects.Storage.STORAGE_DEVICE_DESCRIPTOR_PARSED

StorageLoadMedia() public méthode

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
Résultat bool