mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- Handle failure of NdisMInitializeWrapper
- Found by Amine Khaldi svn path=/trunk/; revision=42769
This commit is contained in:
@@ -1342,6 +1342,7 @@ DriverEntry(
|
||||
Characteristics.SendHandler = MiniportSend;
|
||||
|
||||
NdisMInitializeWrapper(&WrapperHandle, DriverObject, RegistryPath, 0);
|
||||
if (!WrapperHandle) return NDIS_STATUS_FAILURE;
|
||||
|
||||
Status = NdisMRegisterMiniport(WrapperHandle, &Characteristics, sizeof(Characteristics));
|
||||
if(Status != NDIS_STATUS_SUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user