[Toc][Index]

GHI_CMD_REQUESTHW - Syntax



Description: 
GHI_CMD_REQUESTHW is optional and allows a translation layer exclusive 
access to the video hardware. It can do such operations as writing 
directly to the video buffer. 
This function is used to request and release the video hardware. The 
ulFlags field of the pIn data packet determines if this function is a 
request or a release. 

#include <GRADD.h>

GID      gid;         /*  ID of the GRADD. */
ULONG    ulFunction;  /*  Set equal to GHI_CMD_REQUESTHW. */
PVOID    pIn;         /*  Pointer to an HWREQIN data structure. */
PVOID    pOut;        /*  NULL; no output structure needed. */
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