mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:06:22 +00:00
- Revert my last commit
- Looks like this is meant to fail - I added a comment so no one does this again svn path=/branches/aicom-network-fixes/; revision=35745
This commit is contained in:
parent
cf392f00f6
commit
b4b79146c7
1 changed files with 3 additions and 1 deletions
|
@ -161,11 +161,13 @@ static VOID STDCALL MiQueryResources(
|
||||||
PCM_PARTIAL_RESOURCE_DESCRIPTOR Descriptor;
|
PCM_PARTIAL_RESOURCE_DESCRIPTOR Descriptor;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
/* This is only to get the required BufferSize so it shouldn't succeed */
|
||||||
NdisMQueryAdapterResources(Status,
|
NdisMQueryAdapterResources(Status,
|
||||||
WrapperConfigurationContext,
|
WrapperConfigurationContext,
|
||||||
NULL,
|
NULL,
|
||||||
&BufferSize);
|
&BufferSize);
|
||||||
if (*Status != NDIS_STATUS_SUCCESS)
|
|
||||||
|
if (*Status == NDIS_STATUS_SUCCESS)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
*Status = NdisAllocateMemory((PVOID)&AssignedResources,
|
*Status = NdisAllocateMemory((PVOID)&AssignedResources,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue