MCPcopy Create free account
hub / github.com/Bareflank/hypervisor / loaderEvtDriverContextCleanup

Function loaderEvtDriverContextCleanup

loader/windows/src/Driver.c:147–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147VOID
148loaderEvtDriverContextCleanup(_In_ WDFOBJECT DriverObject)
149/*++
150Routine Description:
151
152 Free all the resources allocated in DriverEntry.
153
154Arguments:
155
156 DriverObject - handle to a WDF Driver object.
157
158Return Value:
159
160 VOID.
161
162--*/
163{
164 UNREFERENCED_PARAMETER(DriverObject);
165
166 PAGED_CODE();
167
168 TraceEvents(TRACE_LEVEL_INFORMATION, TRACE_DRIVER, "%!FUNC! Entry");
169
170 loader_fini();
171
172 //
173 // Stop WPP Tracing
174 //
175 WPP_CLEANUP(WdfDriverWdmGetDriverObject((WDFDRIVER)DriverObject));
176}

Callers

nothing calls this directly

Calls 1

loader_finiFunction · 0.85

Tested by

no test coverage detected