Knowledge Base

INFO: Using NdisReadConfiguration with NdisParameterMultiString

Article ID: 195392

Article Last Modified on 3/21/2005


APPLIES TO


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.

Keywords: kbinfo kbndis KB195392