当卷处于脱机状态时,所有读取、写入和 IOCTL 请求都会失败并ERROR_NOT_READY。 无法使系统或启动卷脱机。 当卷处于联机状态时,将接受发送到该卷的所有请求。 当卸载联机卷时,下一次调用打开卷会导致装载该卷。 使卷脱机可防止再次装载已卸载的卷。 若要使卷脱机,请使用IOCTL_VOLUME_OFFLINE控制代码。
IOCTL_VOLUME_ONLINE IOCTL 将卷置于 ONLINE 状态,即执行读取和写入操作的状态。 请求将向下传递到物理磁盘,直到收到后续 IOCTL_VOLUME_OFFLINE。IOCTL_VOLUME_ONLINE的常见用途是,装载管理器在卷到达时自动将新卷置于 ONLINE 状态,除非该卷列在群集服务填充的注册表项中。 无论 以下注册表项中的 NoAutoMount 设置...
BOOLDeviceIoControl( (HANDLE) hDevice,// handle to deviceIOCTL_VOLUME_ONLINE,// dwIoControlCodeNULL,// lpInBuffer0,// nInBufferSizeNULL,// lpOutBuffer0,// nOutBufferSize(LPDWORD) lpBytesReturned,// number of bytes returned(LPOVERLAPPED) lpOverlapped// OVERLAPPED structure); ...
Brings a volume online. Windows Server 2003 and Windows XP:This control code is not supported for dynamic disks. To perform this operation, call theDeviceIoControlfunction with the following parameters. C++ BOOLDeviceIoControl( (HANDLE) hDevice,// handle to deviceIOCTL_VOLUME_ONLINE,// dwIoControlCod...
Brings a volume online. Windows Server 2003 and Windows XP:This control code is not supported for dynamic disks. To perform this operation, call theDeviceIoControlfunction with the following parameters. C++ BOOLDeviceIoControl( (HANDLE) hDevice,// handle to deviceIOCTL_VOLUME_ONLINE,// dwIoControlCod...
IOCTL_VOLUME_ONLINE IOCTL LOOKUP_STREAM_FROM_CLUSTER_ENTRY 结构 LOOKUP_STREAM_FROM_CLUSTER_INPUT 结构 LOOKUP_STREAM_FROM_CLUSTER_OUTPUT 结构 MARK_HANDLE_INFO 结构 MARK_HANDLE_INFO32 结构 MEDIA_TYPE 枚举 MFT_ENUM_DATA_V0 结构 MFT_ENUM_DATA_V1 结构 MOVE_FILE_DATA 结构 NTFS_EXTENDED_VOLUME_DATA...
BOOLDeviceIoControl( (HANDLE) hDevice,// handle to deviceIOCTL_VOLUME_ONLINE,// dwIoControlCodeNULL,// lpInBuffer0,// nInBufferSizeNULL,// lpOutBuffer0,// nOutBufferSize(LPDWORD) lpBytesReturned,// number of bytes returned(LPOVERLAPPED) lpOverlapped// OVERLAPPED structure); ...
Brings a volume online. Windows Server 2003 and Windows XP:This control code is not supported for dynamic disks. To perform this operation, call theDeviceIoControlfunction with the following parameters. C++ BOOLDeviceIoControl( (HANDLE) hDevice,// handle to deviceIOCTL_VOLUME_ONLINE,// dwIoControlCod...
Brings a volume online. Windows Server 2003 and Windows XP:This control code is not supported for dynamic disks. To perform this operation, call theDeviceIoControlfunction with the following parameters. C++ BOOLDeviceIoControl( (HANDLE) hDevice,// handle to deviceIOCTL_VOLUME_ONLINE,// dwIoControlCod...
IOCTL_VOLUME_ONLINE IOCTL LOOKUP_STREAM_FROM_CLUSTER_ENTRY 结构 LOOKUP_STREAM_FROM_CLUSTER_INPUT 结构 LOOKUP_STREAM_FROM_CLUSTER_OUTPUT 结构 MARK_HANDLE_INFO 结构 MARK_HANDLE_INFO32 结构 MEDIA_TYPE 枚举 MFT_ENUM_DATA_V0 结构 MFT_ENUM_DATA_V1 结构 MOVE_FILE_DATA 结构 NTFS_EXTENDED_VOLUME_DATA...