Hi everyone, i currently have a driver and GUI user application, where the driver detects process creation using PsSetCreateProcessNotifyRoutine and will send the process information to the user application, like process id and such. I create a named event at kernel mode, and when a process executes or terminates, i will signal the event in which at the application level, it MsgWaitForMultipleObjects for the event, and sends down an IOCTL to collect the process data. However, i have been losing data, especially when the process executes or terminates very quickly. Therefore, after some read up and googling, i decided that i should use the Inverted Call model. I read the article here : http://insider.osr.com/2013/ntinsider_2013_01.pdf
However, i realised that the example given in the article uses WDF and all the functions are very different from what i am currently using. For example, the inverted call example do not have DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] and such. I am also using IoCreateDevice, IoCreateSymbolicLink and such functions, whereas the inverted call example does not use such functions.
Do i have to change my entire driver to make the inverted call work? I am really confused right now
sorry for the wall of text, and thanks for taking the time!