Class DriveIfaceHandle
public abstract class DriveIfaceHandle : SafeHandle, IDisposable
- Inheritance
-
DriveIfaceHandle
- Implements
- Derived
- Inherited Members
Constructors
DriveIfaceHandle(bool)
protected DriveIfaceHandle(bool ownsHandle)
Parameters
ownsHandle
bool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(DriveIfaceHandle?)
public bool Equals(DriveIfaceHandle? other)
Parameters
other
DriveIfaceHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetCanEject()
public DriveIfaceData.CanEjectCallback GetCanEject()
Returns
GetCanPollForMedia()
public DriveIfaceData.CanPollForMediaCallback GetCanPollForMedia()
Returns
GetCanStart()
public DriveIfaceData.CanStartCallback GetCanStart()
Returns
GetCanStartDegraded()
public DriveIfaceData.CanStartDegradedCallback GetCanStartDegraded()
Returns
GetCanStop()
public DriveIfaceData.CanStopCallback GetCanStop()
Returns
GetChanged()
public DriveIfaceData.ChangedCallback GetChanged()
Returns
GetDisconnected()
public DriveIfaceData.DisconnectedCallback GetDisconnected()
Returns
GetEject()
public DriveIfaceData.EjectCallback GetEject()
Returns
GetEjectButton()
public DriveIfaceData.EjectButtonCallback GetEjectButton()
Returns
GetEjectFinish()
public DriveIfaceData.EjectFinishCallback GetEjectFinish()
Returns
GetEjectWithOperation()
public DriveIfaceData.EjectWithOperationCallback GetEjectWithOperation()
Returns
GetEjectWithOperationFinish()
public DriveIfaceData.EjectWithOperationFinishCallback GetEjectWithOperationFinish()
Returns
GetEnumerateIdentifiers()
public DriveIfaceData.EnumerateIdentifiersCallback GetEnumerateIdentifiers()
Returns
GetGIface()
public TypeInterfaceData GetGIface()
Returns
GetGetIcon()
public DriveIfaceData.GetIconCallback GetGetIcon()
Returns
GetGetIdentifier()
public DriveIfaceData.GetIdentifierCallback GetGetIdentifier()
Returns
GetGetName()
public DriveIfaceData.GetNameCallback GetGetName()
Returns
GetGetSortKey()
public DriveIfaceData.GetSortKeyCallback GetGetSortKey()
Returns
GetGetStartStopType()
public DriveIfaceData.GetStartStopTypeCallback GetGetStartStopType()
Returns
GetGetSymbolicIcon()
public DriveIfaceData.GetSymbolicIconCallback GetGetSymbolicIcon()
Returns
GetGetVolumes()
public DriveIfaceData.GetVolumesCallback GetGetVolumes()
Returns
GetHasMedia()
public DriveIfaceData.HasMediaCallback GetHasMedia()
Returns
GetHasVolumes()
public DriveIfaceData.HasVolumesCallback GetHasVolumes()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetIsMediaCheckAutomatic()
public DriveIfaceData.IsMediaCheckAutomaticCallback GetIsMediaCheckAutomatic()
Returns
GetIsMediaRemovable()
public DriveIfaceData.IsMediaRemovableCallback GetIsMediaRemovable()
Returns
GetIsRemovable()
public DriveIfaceData.IsRemovableCallback GetIsRemovable()
Returns
GetPollForMedia()
public DriveIfaceData.PollForMediaCallback GetPollForMedia()
Returns
GetPollForMediaFinish()
public DriveIfaceData.PollForMediaFinishCallback GetPollForMediaFinish()
Returns
GetStart()
public DriveIfaceData.StartCallback GetStart()
Returns
GetStartFinish()
public DriveIfaceData.StartFinishCallback GetStartFinish()
Returns
GetStop()
public DriveIfaceData.StopCallback GetStop()
Returns
GetStopButton()
public DriveIfaceData.StopButtonCallback GetStopButton()
Returns
GetStopFinish()
public DriveIfaceData.StopFinishCallback GetStopFinish()