Hey folks,
With reference to my earlier posts about state handling / blocking /
PDO’s etc: All is now solved and it’s a really neat solution:
-
It’s all in the control path, so high performance is not an issue.
-
Instead of allocing and messing with your own datastructures, just
create WDFOBJECTs with an appropriate context space, use WDF
collections, set the parent objects appropriately and use the reference
counting. -
Then just attach appropriate cleanup and destroy callbacks, let WDF do
the lifetime management, and it all magically works. Yaaay!
Thanks to Doron and the WDF team for a cool framework.
MH.