mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NDIS]
support REG_DWORD in NdisReadConfiguration CORE-8046 svn path=/trunk/; revision=66513
This commit is contained in:
@@ -645,6 +645,13 @@ NdisReadConfiguration(
|
||||
(*ParameterValue)->ParameterData.StringData.Buffer = Buffer;
|
||||
(*ParameterValue)->ParameterData.StringData.Length = KeyInformation->DataLength;
|
||||
}
|
||||
else if (KeyInformation->Type == REG_DWORD)
|
||||
{
|
||||
ASSERT(KeyInformation->DataLength == sizeof(ULONG));
|
||||
NDIS_DbgPrint(MAX_TRACE, ("NdisParameterInteger\n"));
|
||||
(*ParameterValue)->ParameterType = NdisParameterInteger;
|
||||
(*ParameterValue)->ParameterData.IntegerData = * (ULONG *) &KeyInformation->Data[0];
|
||||
}
|
||||
else if (KeyInformation->Type == REG_SZ)
|
||||
{
|
||||
UNICODE_STRING str;
|
||||
|
||||
Reference in New Issue
Block a user