DrvAccess

DrvAccess(
   PREG_ACCESS
RegAccess
   );

The DrvAccess macro determines if access to the service control manager has been granted by a previous call to DrvCreateServicesNode.

Parameters

RegAccess

Pointer to a globally-defined structure of type REG_ACCESS.

Return Value

The macro equals 1 if access was granted. Otherwise the macro equals 0.

Comments

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.

For additional information, see Installing and Configuring your Driver, Using drvlib.lib.