## Display Device Driver Reference for OS/2

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

### GreEscape DEVESC_QUERYDRIVERCAPS - Parameters

hdc (HDC) - input A handle to the device context.

lCode (LONG) - input DEVESC_QUERYDRIVERCAPS

lInCount (LONG) - input Not used.

pbInData (PBYTE) - input Not used.

plOutCount (PLONG) - output The number of bytes of data pointed to by pbOutData.

On return, this is updated to the number of bytes returned.

pbOutData (PBYTE) - output The address of a buffer that will contain a ULONG variable specifying the number of capabilities.

On return, this buffer contains a ULONG variable that specifies the number of capabilities that the driver supports, immediately followed by an array of DRIVERCAPS structures.

Note: This allows a driver to export multiple capabilities (each, in turn, gets its own page in the System icon).

rc (LONG) - returns Return Code.

Returns NO_ERROR.