VOID
NdisOpenProtocolConfiguration(
OUT PNDIS_STATUS Status,
OUT PNDIS_HANDLE ConfigurationHandle,
IN PNDIS_STRING ProtocolSection
);
NdisOpenProtocolConfiguration returns a handle for the
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
\NICDriverInstance\Parameters\ProtocolName registry
key.
For NDIS drivers that have a ProtocolBindAdapter function, this pointer is the SystemSpecific1 input parameter to ProtocolBindAdapter.
This function 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 to NdisReadConfiguration or NdisWriteConfiguration if it or its installation script stored adapter-specific configuration information in the protocol section of the registry from which the protocol sets up its bindings.
Windows NT protocols call kernel-mode support routines open their own \DriverName\Parameters registry keys. For more information about these support routines, see the Kernel-Mode Driver Reference.
Callers of NdisOpenProtocolConfiguration run at IRQL PASSIVE_LEVEL.
NdisCloseConfiguration, NdisInitializeString, NdisInitUnicodeString, NdisReadConfiguration, NdisWriteConfiguration, ProtocolBindAdapter