NTSTATUS InjectExclusionsSet(_In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length)
Replaces the list with the names in a PANO_INJECTION_EXCLUSIONS.
void InjectExclusionsInit()
Initializes the (empty) list of image names the hook DLL is not injected into. Call before the device...
BOOLEAN IsInjectionExcluded(_In_ PCUNICODE_STRING ProcessImagePath)
Checks whether a process's image is in the list. PASSIVE_LEVEL only.
void InjectExclusionsCleanup()
Frees the list. Call once the device and the image load callback are gone.