![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
VMI_CMD_QUERYCAPS - Syntax
Description:
VMI_CMD_QUERYCAPS returns the capabilities of a particular GRADD. VMAN
sends this command directly to the GRADD chain identified by the GRADD ID
provided by the caller.
VMI_CMD_QUERYCAPS is not typically used by translation layers because the
VMI_CMD_QUERYCHAININFO function returns the capabilities of all GRADDs, as
opposed to just one. VMI_CMD_QUERYCHAININFO is the recommended way of
querying the capabilities of all GRADDs in the system.
#include <GRADD.h>
GID gid; /* ID of the GRADD. */
ULONG ulFunction; /* Set equal to VMI_CMD_QUERYCAPS. */
PVOID pIn; /* NULL. */
PVOID pOut; /* Pointer to a CAPSINFO data structure. */
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