2.3.54 FSCTL_SET_DEFECT_MANAGEMENT Reply

The only data item this message returns is a status code, as specified in [MS-ERREF] section 2.3. The status code returned directly by the function that processes this FSCTL MUST be STATUS_SUCCESS or one of the following.

Error code

Meaning

STATUS_INVALID_PARAMETER

0xC000000D

An invalid parameter was passed to a service or function or the handle on which this FSCTL was invoked is that of a directory.

STATUS_INVALID_DEVICE_REQUEST

0xC0000010

The specified request is not a valid operation for the target device.

STATUS_SHARING_VIOLATION

0xC0000043

A file cannot be opened because the share access flags are incompatible.

STATUS_VOLUME_DISMOUNTED

0xC000026e

An operation was attempted to a volume after it was dismounted.

STATUS_FILE_INVALID

0xC0000098

The volume for a file has been externally altered such that the opened file is no longer valid.

STATUS_WRONG_VOLUME

0xC0000012

The wrong volume is in the drive.

STATUS_VERIFY_REQUIRED

0x80000016

The media has changed and a verify operation is in progress so no reads or writes can be performed to the device, except those used in the verify operation.

There are no additional data elements in this reply.

Show: