Description:
GHI_CMD_EVENT is optional and is called to notify a GRADD of specific events.
#include <GRADD.h> GID gid; /* ID of the GRADD. */ ULONG ulFunction; /* Set equal to GHI_CMD_EVENT. */ PVOID pIn; /* Pointer to an HWEVENTIN data structure. */ PVOID pOut; /* NULL; no output structure needed. */ ULONG rc; /* Return codes. */ rc = HWENTRY(gid, ulFunction, pIn, pOut);