C# Класс BetterExplorer.UsbEject.Native

Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
CM_Get_Device_ID ( int dnDevInst, StringBuilder buffer, int bufferLen, int ulFlags ) : int
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
CM_Request_Device_Eject_NoUi ( int dnDevInst, IntPtr pVetoType, StringBuilder pszVetoName, int ulNameLength, int ulFlags ) : int
CloseHandle ( IntPtr hObject ) : bool
CreateFile ( string lpFileName, int dwDesiredAccess, int dwShareMode, IntPtr lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, IntPtr hTemplateFile ) : IntPtr
DeviceIoControl ( IntPtr hDevice, int dwIoControlCode, IntPtr lpInBuffer, int nInBufferSize, IntPtr lpOutBuffer, int nOutBufferSize, int &lpBytesReturned, IntPtr lpOverlapped ) : bool
GetVolumeNameForVolumeMountPoint ( string volumeName, StringBuilder uniqueVolumeName, uint uniqueNameBufferCapacity ) : bool
Native ( ) : System
SetupDiDestroyDeviceInfoList ( IntPtr deviceInfoSet ) : uint
SetupDiEnumDeviceInterfaces ( IntPtr deviceInfoSet, SP_DEVINFO_DATA deviceInfoData, System.Guid &interfaceClassGuid, int memberIndex, SP_DEVICE_INTERFACE_DATA deviceInterfaceData ) : bool
SetupDiGetClassDevs ( System.Guid &classGuid, int enumerator, IntPtr hwndParent, int flags ) : IntPtr
SetupDiGetDeviceInterfaceDetail ( IntPtr deviceInfoSet, SP_DEVICE_INTERFACE_DATA deviceInterfaceData, IntPtr deviceInterfaceDetailData, int deviceInterfaceDetailDataSize, int &requiredSize, SP_DEVINFO_DATA deviceInfoData ) : bool
SetupDiGetDeviceRegistryProperty ( IntPtr deviceInfoSet, SP_DEVINFO_DATA deviceInfoData, int property, int &propertyRegDataType, IntPtr propertyBuffer, int propertyBufferSize, int &requiredSize ) : bool
SetupDiOpenDeviceInfo ( IntPtr deviceInfoSet, string deviceInstanceId, IntPtr hwndParent, int openFlags, SP_DEVINFO_DATA deviceInfoData ) : bool