## Graphics Adapter Device Driver Reference

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

### VMI_CMD_QUERYMODES - Parameters

gid (GID) - input ID of the GRADD.

ulFunction (ULONG) - input Set equal to VMI_CMD_QUERYMODES.

pIn (PVOID) - input Pointer that identifies a QUERYMODE operation.

This pointer identifies one of the following operations:

QUERYMODE_NUM_MODES
QUERYMODE_MODE_DATA

pOut (PVOID) - output Pointer to the pIn operation.

This pointer indicates one of the following, depending on the value of pIn:

QUERYMODE_NUM_MODES Indicates a pointer to a ULONG containing the number of supported modes.
QUERYMODE_MODE_DATA Indicates a pointer to an array of GDDMODEINFO structures large enough for the number of supported modes.

rc (ULONG) - returns Return codes.

RC_SUCCESS
RC_ERROR