次の方法で共有


Reading the Registry in an NDIS 6.0 Miniport Driver

The NdisOpenConfigurationEx function replaces the NdisOpenConfiguration function. NdisOpenConfigurationEx receives as parameters an NDIS handle and a pointer to a configuration handle.

If the driver obtained the NDIS handle passed at NdisHandle by calling the NdisMRegisterMiniportDriver function, NdisOpenConfigurationEx provides a configuration handle to the registry location where the miniport driver's configuration parameters are stored.

If the driver obtained the handle passed at NdisHandle from the MiniportAdapterHandle parameter of the MiniportInitializeEx function, NdisOpenConfigurationEx provides a configuration handle to the registry location where a miniport adapter's configuration parameters are stored.

The miniport driver uses the configuration handle in subsequent calls to the NdisReadConfiguration and NdisWriteConfiguration functions. For more information, see NDIS 6.0 Configuration Functions.