Méthode | Description | |
---|---|---|
EjectDrive ( String path, String &message ) : bool |
Ejects a drive. The caller has to ensure that it is a USB drive
|
|
EjectMedia ( string path, String &message ) : bool | ||
HandleDeviceChangedMessage ( |
Handles the window message when a drive change is in progress or finished
|
|
SetExamineCDTime ( System.DateTime ExamineCDTime ) : void |
Provides system last mount time
|
|
SetMountTime ( System.DateTime mountTime ) : void |
Provides system last mount
|
Méthode | Description | |
---|---|---|
CM_Get_Parent ( int &pdnDevInst, int dnDevInst, int ulFlags ) : int | ||
CM_Request_Device_Eject ( int dnDevInst, PNP_VETO_TYPE &pVetoType, StringBuilder pszVetoName, int ulNameLength, int ulFlags ) : int | ||
CloseHandle ( |
||
CreateFile ( string lpFileName, int dwDesiredAccess, int dwShareMode, |
||
DeviceIoControl ( |
||
DeviceIoControl ( |
||
DeviceNew ( DEV_BROADCAST_VOLUME volumeInformation ) : bool |
Extracts the Volume letter and sends a gui message with the extracted volume letter so that other plugins can add this drive out of there virtual directory
|
|
DeviceRemoved ( DEV_BROADCAST_VOLUME volumeInformation ) : bool |
Extracts the Volume letter and sends a gui message with the extracted volume letter so that other plugins can remove this drive out of there virtual directory
|
|
GetDevInfoForDeviceNumber ( long DeviceNumber ) : SP_DEVINFO_DATA |
Get Device data for the given device number
|
|
GetDeviceNumber ( string devicePath ) : int |
Determins the device number
|
|
GetVolumeLetter ( int Mask ) : char |
Extract the volume letter from the WIN32 Mask extracted from a windows message
|
|
SetupDiEnumDeviceInterfaces ( |
||
SetupDiGetClassDevs ( System.Guid &classGuid, int enumerator, |
||
SetupDiGetDeviceInterfaceDetail ( |
public static EjectDrive ( String path, String &message ) : bool | ||
path | String | Path of the drive to eject |
message | String | Response message |
Résultat | bool |
public static EjectMedia ( string path, String &message ) : bool | ||
path | string | |
message | String | |
Résultat | bool |
public static HandleDeviceChangedMessage ( |
||
msg | Window message | |
Résultat | bool |
public static SetExamineCDTime ( System.DateTime ExamineCDTime ) : void | ||
ExamineCDTime | System.DateTime | |
Résultat | void |
public static SetMountTime ( System.DateTime mountTime ) : void | ||
mountTime | System.DateTime | |
Résultat | void |