mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 10:40:20 +08: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:
@@ -161,11 +161,13 @@ static VOID STDCALL MiQueryResources(
|
||||
PCM_PARTIAL_RESOURCE_DESCRIPTOR Descriptor;
|
||||
int i;
|
||||
|
||||
/* This is only to get the required BufferSize so it shouldn't succeed */
|
||||
NdisMQueryAdapterResources(Status,
|
||||
WrapperConfigurationContext,
|
||||
NULL,
|
||||
&BufferSize);
|
||||
if (*Status != NDIS_STATUS_SUCCESS)
|
||||
|
||||
if (*Status == NDIS_STATUS_SUCCESS)
|
||||
return;
|
||||
|
||||
*Status = NdisAllocateMemory((PVOID)&AssignedResources,
|
||||
|
||||
Reference in New Issue
Block a user