mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
- Handle failure of NdisMInitializeWrapper
- Found by Amine Khaldi svn path=/trunk/; revision=42769
This commit is contained in:
parent
38a3ccc3fd
commit
ab9f22b2e8
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue