Initialize the mini-filter driver. DriverObject - The driver's object. RegistryPath - The path to the driver's registry entry. */
| 50 | RegistryPath - The path to the driver's registry entry. |
| 51 | */ |
| 52 | NTSTATUS |
| 53 | DriverEntry ( |
| 54 | _In_ PDRIVER_OBJECT DriverObject, |
| 55 | _In_ PUNICODE_STRING RegistryPath |
| 56 | ) |
| 57 | { |
| 58 | NTSTATUS status; |
| 59 | |
| 60 | status = STATUS_SUCCESS; |
| 61 | |
| 62 | DBGPRINT("FilterTesting!DriverEntry: Hello world."); |
| 63 | |
| 64 | Communicator = new (NonPagedPool, 'cImP') IOCTLCommunication(DriverObject, RegistryPath, NULL, &status); |
| 65 | if (NT_SUCCESS(status) == FALSE) |
| 66 | { |
| 67 | DBGPRINT("FilterTesting!DriverEntry: Failed to initialize communication with status 0x%X.", status); |
| 68 | } |
| 69 | |
| 70 | return status; |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | This function handles unloading the mini-filter. |
nothing calls this directly
no outgoing calls
no test coverage detected