Bewerken

Delen via


IOCTL_DISK_IS_WRITABLE IOCTL (ntdddisk.h)

Determines whether a disk is writable.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

None.

Input buffer length

None.

Output buffer

None.

Output buffer length

None.

Status block

The Information field is set to zero. The Status field can be set to STATUS_SUCCESS, or possibly to STATUS_INSUFFICIENT_RESOURCES, STATUS_IO_DEVICE_ERROR, or STATUS_MEDIA_WRITE_PROTECTED.

Requirements

Requirement Value
Header ntdddisk.h (include Ntdddisk.h)