This function allocates a SCSI peripheral device and returns the device handle that will be used to access the device.
Input Parameter Structure
Field
──────────────────────────────────────────────────────────────────────────
FUNCTION CATEGORY : 80h FUNCTION CODE : 55h
──────────────────────────────────────────────────────────────────────────
This function requires a device type, device type flags, and Nth available device to be passed in the request. The device type flags define the removable media indicator. The most significant bit of the device type flags set indicates that the media is removable. The Nth available is the Nth device in the device type group. If Nth available is 0, the next available device is returned.
Data Buffer
┌────────────────────┬────────────────────────────────────────┐│Field Name │Length │ ├────────────────────┼────────────────────────────────────────┤ │Device Handle │WORD │ └────────────────────┴────────────────────────────────────────┘
Device Handle
Returned to the caller.