good day !
i’m trying to implement filter hook driver.
IoGetDeviceObjectPointer returns status 0xc0000034 - Object Name not found.
with winobj i can see that there are no such name as IPFILTERDRIVER in \Device namespace.
is IPFILTERDRIVER wrong name ? what name should i use instead ?
testing on xp sp3 chk
device object retrieval:
UNICODE_STRING IPFilterName;
RtlInitUnicodeString(&IPFilterName, DD_IPFLTRDRVR_DEVICE_NAME);
AutoObject<file_object> IPFilterFile;
stat = IoGetDeviceObjectPointer(&IPFilterName,
FILE_READ_DATA | FILE_WRITE_DATA | SYNCHRONIZE,
IPFilterFile,
&IPFilterDevice);</file_object>