Can some share code snippet for the thread https://community.osr.com/t/correct-usage-of-flt-preop-pending-and-fltcompletependedpreoperation/36920

Specially I am confused with signaling the InstanceContext->TeardownEvent
This I need to signal from Userspace application.
cancelsafe.c : I believe this is working based on timeout. No one signaling the event
Also I like to notify the waiting event for each WorkItem