mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- Check to see if the ZwEnumerateKey call succeeded with the larger buffer and continue if possible
svn path=/branches/aicom-network-fixes/; revision=35055
This commit is contained in:
@@ -860,8 +860,10 @@ static NTSTATUS FindDeviceDescForAdapter( PUNICODE_STRING Name,
|
||||
Status = ZwEnumerateKey( EnumKey, i, KeyBasicInformation,
|
||||
Kbio, KbioLength, &ResultLength );
|
||||
|
||||
TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n", i));
|
||||
return Status;
|
||||
if( !NT_SUCCESS(Status) ) {
|
||||
TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n", i));
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
||||
if( NT_SUCCESS(Status) ) {
|
||||
|
||||
Reference in New Issue
Block a user