[Toc][Index]

GreEscape DEVESC_QUERYDRIVERCAPS - Syntax



Simulation support: 
This function is optional for display drivers and has no simulation 
support. 
Description: 
GreEscape DEVESC_QUERYDRIVERCAPS returns the capabilities descriptions. 
The values for each capability are not yet allocated and are queried 
later. The #define DEVESC_QUERYDRIVERCAPS (4010L) is defined in 
SVGADEFS.H. 


#define INCL_GRE_DEVICE
#include <GRADD.h>

HDC      hdc;         /*  A handle to the device context. */
LONG     lCode;       /*  DEVESC_QUERYDRIVERCAPS */
LONG     lInCount;    /*  Not used. */
PBYTE    pbInData;    /*  Not used. */
PLONG    plOutCount;  /*  The number of bytes of data pointed to by pbOutData. */
PBYTE    pbOutData;   /*  The address of a buffer that will contain a ULONG variable specifying the number of capabilities. */
LONG     rc;          /*  Return Code. */

rc = GreEscape(hdc, lCode, lInCount, pbInData,
       plOutCount, pbOutData);


Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs