RMGetDriverName

This rmcall helper service can retrieve the name of a device driver from a base device driver init packet.

Syntax
RMGetDriverName(pRP, pBuf, size);

Parameters

 * pRP (PRPINITIN) : Pointer to init request packet.


 * pBuf (PSZ) : Pointer to character buffer for device driver name.


 * size (USHORT) : Buffer size.

Return Code

 * rc (APIRET) - returns : Contents of pBuf will be a null-terminated device driver name. If unable to determine the device driver name, the contents of pBuf will be a zero-length null-terminated string.

Remarks
None.

C

 * 1) include 
 * 2) include 
 * 3) include 

PRPINITIN   pRP; PSZ         pBuf; USHORT      size; APIRET      rc;

rc = RMGetDriverName(pRP, pBuf, size); 