INFO: Using NdisReadConfiguration with NdisParameterMultiString (195392)



The information in this article applies to:

  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT 4.0

This article was previously published under Q195392

SUMMARY

When you use the NdisReadConfiguration() with NdisParameterMultiString, as an NDIS_PARAMETER_TYPE, to load more than one REG_MULTI_SZ type strings of Windows NT Registry, a value that is always and only the first string is returned.

MORE INFORMATION

You have to work around this to read all the strings that need to be read. Basically, you have to continue to read the registry information until there is no more information listed under this parameter. You have to read each and every line in this parameter to retrieve all the information. The aforementioned call only reads the first line of the parameter.

Modification Type:MinorLast Reviewed:3/21/2005
Keywords:kbinfo kbNDIS KB195392