9.1.8 Verify Configuration

NcDetectVerifyCfg outputs a buffer of configuration information similar in format to NcDetectQueryCfg. The function prototype is as follows:

LONG NcDetectVerifyCfg(
PVOID       pvHandle,
WCHAR
    *pwchBuffer
);

Parameters

ppvHandle
Points to the handle returned by a successful call to NcDetectOpenHandle.
pwchBuffer
Specifies the base virtual address of a buffer in which this function returns the data.

Comments

The function returns NO_ERROR if the configuration matches values that are either set on the NIC or that can be set during driver initialization. An error should be returned if critical (nondefault) parameters are missing from the buffer.