mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
- Handle failure of NdisMInitializeWrapper
- Found by Amine Khaldi svn path=/trunk/; revision=42769
This commit is contained in:
parent
38a3ccc3fd
commit
ab9f22b2e8
1 changed files with 1 additions and 0 deletions
|
@ -1342,6 +1342,7 @@ DriverEntry(
|
||||||
Characteristics.SendHandler = MiniportSend;
|
Characteristics.SendHandler = MiniportSend;
|
||||||
|
|
||||||
NdisMInitializeWrapper(&WrapperHandle, DriverObject, RegistryPath, 0);
|
NdisMInitializeWrapper(&WrapperHandle, DriverObject, RegistryPath, 0);
|
||||||
|
if (!WrapperHandle) return NDIS_STATUS_FAILURE;
|
||||||
|
|
||||||
Status = NdisMRegisterMiniport(WrapperHandle, &Characteristics, sizeof(Characteristics));
|
Status = NdisMRegisterMiniport(WrapperHandle, &Characteristics, sizeof(Characteristics));
|
||||||
if(Status != NDIS_STATUS_SUCCESS)
|
if(Status != NDIS_STATUS_SUCCESS)
|
||||||
|
|
Loading…
Reference in a new issue