BOOLDeviceIoControl( (HANDLE) hDevice,// handle to deviceIOCTL_STORAGE_GET_HOTPLUG_INFO,// dwIoControlCodeNULL,// lpInBuffer0,// nInBufferSize(LPVOID) lpOutBuffer,// output buffer(DWORD) nOutBufferSize,// size of output buffer(LPDWORD) lpBytesReturned,// number of bytes returned(LPOVERLAPP...
STORAGE_HOTPLUG_INFO结构的长度。状态块“状态”字段设置为“STATUS_SUCCESS”,如果输入缓冲区太小,则可能会STATUS_INFO_LENGTH_MISMATCH。 如果 STORAGE_HOTPLUG_INFO 的 Size 成员不是此设备的类驱动程序所需的大小,则将其设置为 STATUS_INVALID_PARAMETER_1。 如果 MediaRemoveable 成员的值不同于类驱动...
IOCTL_STORAGE_GET_DEVICE_NUMBER IOCTL IOCTL_STORAGE_GET_HOTPLUG_INFO IOCTL IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES_EX IOCTL IOCTL_STORAGE_LOAD_MEDIA IOCTL IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES IOCTL IOCTL_STORAGE_MCN_CONTROL ...
IOCTL_STORAGE_EJECT_MEDIA IOCTL IOCTL_STORAGE_EJECTION_CONTROL IOCTL IOCTL_STORAGE_GET_DEVICE_NUMBER IOCTL IOCTL_STORAGE_GET_HOTPLUG_INFO IOCTL IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES_EX IOCTL IOCTL_STORAGE_LOAD_MEDIA IOCTL...
IOCTL_STORAGE_GET_DEVICE_NUMBER IOCTL IOCTL_STORAGE_GET_HOTPLUG_INFO IOCTL IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES_EX IOCTL IOCTL_STORAGE_LOAD_MEDIA IOCTL IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES IOCTL IOCTL_STORAGE_MCN_CONTROL ...
IOCTL_STORAGE_GET_DEVICE_NUMBER IOCTL IOCTL_STORAGE_GET_HOTPLUG_INFO IOCTL IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES_EX IOCTL IOCTL_STORAGE_LOAD_MEDIA IOCTL IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES IOCTL IOCTL_STORAGE_MCN_CONTROL ...
IOCTL_STORAGE_GET_HOTPLUG_INFO IOCTL (winioctl.h) 项目 2024/03/04 反馈 本文内容 注解 要求 另请参阅 检索指定设备的热插拔配置。 若要执行此操作,请使用以下参数调用 DeviceIoControl 函数。 C++ 复制 BOOL DeviceIoControl( (HANDLE) hDevice, // handle to device IOCTL_STORAGE_GET_HOTPLUG_...
IOCTL_STORAGE_GET_HOTPLUG_INFO IOCTL (winioctl.h) 项目 2024/03/04 反馈 本文内容 注解 要求 另请参阅 检索指定设备的热插拔配置。 若要执行此操作,请使用以下参数调用 DeviceIoControl 函数。 C++ 复制 BOOL DeviceIoControl( (HANDLE) hDevice, // handle to device IOCTL_STORAGE_GET_HOTPLUG_...
有关热插拔设备的详细信息,请参阅 STORAGE_HOTPLUG_INFO 参考页中的“备注”部分。 此操作仅设置传入的 STORAGE_HOTPLUG_INFO 结构的 DeviceHotplug 成员。 要求 展开表 要求值 最低受支持的客户端 Windows XP 最低受支持的服务器 Windows Server 2003 标头 winioctl.h (包括 Windows.h) 另请参阅 设备...
IOCTL_STORAGE_EJECT_MEDIA IOCTL IOCTL_STORAGE_EJECTION_CONTROL IOCTL IOCTL_STORAGE_GET_DEVICE_NUMBER IOCTL IOCTL_STORAGE_GET_HOTPLUG_INFO IOCTL IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES IOCTL IOCTL_STORAGE_GET_MEDIA_TYPES_EX IOCTL IOCTL_STORAGE_LOAD_MEDIA IOCTL...