Rename TunDriverUnload() => TunUnload()

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2019-04-09 14:29:21 +02:00
parent b5cf1f927b
commit 2fa408a92f

View File

@ -1135,9 +1135,9 @@ cleanup_ctx:
return status;
}
static MINIPORT_UNLOAD TunDriverUnload;
static MINIPORT_UNLOAD TunUnload;
_Use_decl_annotations_
static VOID TunDriverUnload(PDRIVER_OBJECT DriverObject)
static VOID TunUnload(PDRIVER_OBJECT DriverObject)
{
NdisMDeregisterMiniportDriver(NdisMiniportDriverHandle);
}
@ -1403,7 +1403,7 @@ NTSTATUS DriverEntry(DRIVER_OBJECT *DriverObject, UNICODE_STRING *RegistryPath)
.SetOptionsHandler = TunSetOptions,
.InitializeHandlerEx = TunInitializeEx,
.HaltHandlerEx = TunHaltEx,
.UnloadHandler = TunDriverUnload,
.UnloadHandler = TunUnload,
.PauseHandler = TunPause,
.RestartHandler = TunRestart,
.OidRequestHandler = TunOidRequest,