## Physical Device Driver Reference

[prev][next][parent][TOC]

### RMParseSCSIInquiry - Calling Sequence

This rmcall service builds an SCSI device description and is provided as a convenience for device drivers dealing with SCSI devices. It converts SCSI inquiry data for a device into a device key and a description that can be used in RMCreateDevice.

    #include <os2.h>

    #include <rmcalls.h>

    PVOID     InquiryData;

    PSZ       DescBuffer;

    USHORT    DescBufferSize;

    APIRET    rc;

    rc = RMParseSCSIInquiry(InquiryData, DescBuffer,

           DescBufferSize);