mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:46:17 +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;
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue