REG_ACCESS

typedef struct {

    SC_HANDLE     ServiceManagerHandle;

    LPTSTR        DriverName;

    TCHAR         TempKeySaveFileName[MAX_PATH];

} REG_ACCESS, *PREG_ACCESS;

 

The REG_ACCESS structure contains registry access information.

Members

ServiceManagerHandle

Contains a handle to the local service control manager.

DriverName

Pointer to a driver name. This is the DriverName argument to DrvCreateServicesNode.

TempKeySaveFileName

Name of a file created by DrvSaveParametersKey.

Comments

User-mode drivers using drvlib.lib functions to access the registry must declare a single global variable of this type for use with all function calls.

Drivers do not reference the structure contents.

The structure is initialized by DrvCreateServicesNode.