DrvCloseServiceManager

VOID
    DrvCloseServiceManager(
        PREG_ACCESS
RegAccess
        );

The DrvCloseServiceManager function closes the connection to the service control manager that was created by calling DrvCreateServicesNode.

Parameters
RegAccess
Pointer to a globally-defined structure of type REG_ACCESS.
Return Value

None.

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.

If DrvSaveParametersKey has been called to save registry contents in a temporary file, the file is deleted.

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