Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves the controller number and disk number for an IDE disk.
Major code
Input buffer
None.
Input buffer length
None.
Output buffer
The buffer at Irp->AssociatedIrp.SystemBuffer contains the DISK_CONTROLLER_NUMBER data.
Output buffer length
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).
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
| Requirement | Value |
|---|---|
| Header | ntdddisk.h (include Ntdddisk.h) |