MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / CompleteIrp

Function CompleteIrp

Anti-Rootkit/ARK.cpp:276–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276NTSTATUS CompleteIrp(PIRP Irp, NTSTATUS status = STATUS_SUCCESS, ULONG_PTR info = 0) {
277 Irp->IoStatus.Status = status;
278 Irp->IoStatus.Information = info;
279 IoCompleteRequest(Irp, IO_NO_INCREMENT);
280 return status;
281}
282/*
283 In more complex cases,these could be separate functions,
284 where in the Create case the driver can (for instance) check to see who the caller is

Callers 5

AntiRootkitCreateCloseFunction · 0.85
AntiRootkitDeviceControlFunction · 0.85
AntiRootkitShutdownFunction · 0.85
AntiRootkitReadFunction · 0.85
AntiRootkitWriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected