BOOL
DrvIsDriverLoaded(
PREG_ACCESS RegAccess
);
The DrvIsDriverLoaded function determines if the kernel-mode driver is currently loaded and running.
Returns TRUE if the kernel-mode driver is loaded and running. Otherwise returns FALSE.
The structure pointed to by RegAccess must be a single, globally-defined REG_ACCESS structure that the driver uses with all calls to drvlib.lib functions requiring a RegAccess parameter.
Drivers must call DrvCreateServicesNode before calling DrvIsDriverLoaded.
For additional information, see Installing and Configuring your Driver, Using drvlib.lib.