![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
VMI_CMD_QUERYMODES - Syntax
Description:
VMI_CMD_QUERYMODES returns video mode information for a particular GRADD.
VMAN passes this command directly to the GRADD chain identified by the
GRADD ID provided by the caller.
VMI_CMD_QUERYMODES is not typically used by translation layers because the
VMI_CMD_QUERYCHAININFO function returns the supported modes of all GRADDs,
as opposed to just one. VMI_CMD_QUERYCHAININFO is the recommended way of
querying the available modes of all GRADDs in the system.
#include <GRADD.h>
GID gid; /* ID of the GRADD. */
ULONG ulFunction; /* Set equal to VMI_CMD_QUERYMODES. */
PVOID pIn; /* Pointer that identifies a QUERYMODE operation. */
PVOID pOut; /* Pointer to the pIn operation. */
ULONG rc; /* Return codes. */
rc = VMIEntry(gid, ulFunction, pIn, pOut);
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs