Rename TunDriverUnload() => TunUnload()
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
b5cf1f927b
commit
2fa408a92f
6
wintun.c
6
wintun.c
@ -1135,9 +1135,9 @@ cleanup_ctx:
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
static MINIPORT_UNLOAD TunDriverUnload;
|
static MINIPORT_UNLOAD TunUnload;
|
||||||
_Use_decl_annotations_
|
_Use_decl_annotations_
|
||||||
static VOID TunDriverUnload(PDRIVER_OBJECT DriverObject)
|
static VOID TunUnload(PDRIVER_OBJECT DriverObject)
|
||||||
{
|
{
|
||||||
NdisMDeregisterMiniportDriver(NdisMiniportDriverHandle);
|
NdisMDeregisterMiniportDriver(NdisMiniportDriverHandle);
|
||||||
}
|
}
|
||||||
@ -1403,7 +1403,7 @@ NTSTATUS DriverEntry(DRIVER_OBJECT *DriverObject, UNICODE_STRING *RegistryPath)
|
|||||||
.SetOptionsHandler = TunSetOptions,
|
.SetOptionsHandler = TunSetOptions,
|
||||||
.InitializeHandlerEx = TunInitializeEx,
|
.InitializeHandlerEx = TunInitializeEx,
|
||||||
.HaltHandlerEx = TunHaltEx,
|
.HaltHandlerEx = TunHaltEx,
|
||||||
.UnloadHandler = TunDriverUnload,
|
.UnloadHandler = TunUnload,
|
||||||
.PauseHandler = TunPause,
|
.PauseHandler = TunPause,
|
||||||
.RestartHandler = TunRestart,
|
.RestartHandler = TunRestart,
|
||||||
.OidRequestHandler = TunOidRequest,
|
.OidRequestHandler = TunOidRequest,
|
||||||
|
Loading…
Reference in New Issue
Block a user