![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
GreEscape DEVESC_QUERYDRIVERCAPSLIST - Syntax
Simulation support:
This function is optional for display drivers and has no simulation
support.
Description:
GreEscape DEVESC_QUERYDRIVERCAPSLIST fills the pValueList, pCurrentValue,
and pDefaultValue in the DRIVERCAPS data structure. The members must be 0
padded up to the ulValueMemberSize in the pValueList.
There are three kind of data types that we are supporting at the present
time-boolean, aggregate of int values, and aggregate of strings. These
data types are defined as follows:
#define CAPSTYPE_BOOLEAN 1L
#define CAPSTYPE_AGGREGATE_INT 2L
#define CAPSTYPE_AGGREGATE_STRING 3L
#define INCL_GRE_DEVICE
#include <GRADD.h>
HDC hdc; /* A handle to the device context. */
LONG lCode; /* DEVESC_QUERYDRIVERCAPSLIST */
LONG lInCount; /* Number of bytes pointed to by pbInData. */
PBYTE pbInData; /* Pointer to a DRIVERCAPS data structure. */
PLONG plOutCount; /* Not used. */
PBYTE pbOutData; /* Not used. */
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