DevQueryCaps - Syntax

This function queries the device characteristics.

#define INCL_DEV /* Or use INCL_PM, Also in COMMON section */
#include <os2.h>

HDC      hdc;      /*  Device-context handle. */
LONG     lStart;   /*  First item of information. */
LONG     lCount;   /*  Count of items of information. */
PLONG    alArray;  /*  Device capabilities. */
BOOL     rc;       /*  Success indicator. */

rc = DevQueryCaps(hdc, lStart, lCount, alArray);


[Back: DevQueryCaps]
[Next: DevQueryCaps Parameter - hdc]