NdisOpenProtocolConfiguration returns a handle for the registry key in which a protocol driver's per-adapter information is stored.
VOID
NdisOpenProtocolConfiguration(
OUT PNDIS_STATUS Status,
OUT PNDIS_HANDLE ConfigurationHandle,
IN PNDIS_STRING ProtocolSection
);
This pointer is the SystemSpecific1 input parameter to the caller's ProtocolBindAdapter function.
Declared in Ndis.h. Include Ndis.h.
NdisOpenProtocolConfiguration returns a handle that the caller can pass subsequently to the Ndis..Configuration functions to retrieve or store information in the registry.
A protocol driver calls NdisOpenProtocolConfiguration to get a registry key handle to be passed subsequently to other Ndis..Configuration functions, such as NdisRead/WriteConfiguration or NdisOpenConfigurationKeyByName/Index, if its installation script stored adapter-specific configuration information in the protocol section of the registry from which the protocol sets up its bindings.
A protocol can call NdisOpenConfigurationKeyByName or NdisOpenConfigurationKeyByIndex to open any subkey of the registry key for which NdisOpenProtocolConfiguration returns the handle.
Windows 2000 and later protocols call kernel-mode support routines to open their own protocol-specific registry keys. For more information about these support routines, see the Summary of Kernel-Mode Support Routines and Power Management Support Routines.
Callers of NdisOpenProtocolConfiguration run at IRQL = PASSIVE_LEVEL.
ANSI_STRING, NdisCloseConfiguration, NdisInitializeString, NdisInitUnicodeString, NdisOpenConfigurationKeyByIndex, NdisOpenConfigurationKeyByName, NdisReadConfiguration, NdisWriteConfiguration, ProtocolBindAdapter, UNICODE_STRING