mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[NDIS]
support REG_DWORD in NdisReadConfiguration CORE-8046 svn path=/trunk/; revision=66513
This commit is contained in:
parent
23eb1ea1e7
commit
d607b14920
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue