Export (0) Print
Expand All

IOCTL_DISK_CONTROLLER_NUMBER control code

Retrieves the controller number and disk number for an IDE disk.

Input Parameters

Parameters.DeviceIoControl.OutputBufferLength in the IO_STACK_LOCATION structure of the IRP indicates the size, in bytes, of the output buffer, which must be >= sizeof(DISK_CONTROLLER_NUMBER).

Output Parameters

The buffer at Irp->AssociatedIrp.SystemBuffer contains the DISK_CONTROLLER_NUMBER data.

I/O Status Block

The Information field is set to sizeof(DISK_CONTROLLER_NUMBER).

The Status field is set to STATUS_SUCCESS if the operation is successful. One possible status value is STATUS_BUFFER_TOO_SMALL if the output buffer provided by the caller is too small.

Requirements

Header

Ntdddisk.h (include Ntdddisk.h)

See also

DISK_CONTROLLER_NUMBER

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft