![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
VMI_CMD_SETMODE - Syntax
Description:
VMI_CMD_SETMODE sets the video display adapter to a given mode. VMAN
passes this command directly to the GRADD chain identified by the GRADD ID
provided by the caller. The GRADD is expected to set the video mode, given
an ID of the chosen mode.
#include <GRADD.h>
GID gid; /* ID of the GRADD. */
ULONG ulFunction; /* Set equal to VMI_CMD_SETMODE. */
PVOID pIn; /* Pointer to PULONG containing the ID of the requested mode. */
PVOID pOut; /* NULL. */
ULONG rc; /* Return codes. */
rc = HWENTRY(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