Description:

OS2_PM_DRV_DEVICENAMES must be compiled to run at Ring 3 (privilege level 3).

The device names entry point is exported as OS2_PM_DRV_DEVICENAMES by the presentation driver to support the DevQueryDeviceNames function at the API level. This call returns the device names and device descriptions supported by this driver.

#include <os2.h>

PSZ       pszDriverName;
PLONG     pcNames;
PSTR32    paDeviceName;
PSTR64    paDeviceDesc;
PLONG     pcDataTypes;
PSZ       paDataType;
ULONG     lReserved1;
ULONG     lReserved2;
LONG      rc;             /*  Return codes. */

rc = OS2_PM_DRV_DEVICENAMES(pszDriverName,
       pcNames, paDeviceName, paDeviceDesc,
       pcDataTypes, paDataType, lReserved1,
       lReserved2);


[Back: OS2_PM_DRV_DEVICENAMES]
[Next: OS2_PM_DRV_DEVICENAMES Parameter - pszDriverName]