Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm guessing this is already something you guys know about and is a thorn in your side, but I wanted to start the discussion:
What are your plans for eliminating
call_unsafe_wdf_function_binding
(and friends)?Context for the uninitiated: this macro exists because WDF exposes all of its APIs via a function table.
For example, here is the implementation for WdfDriverCreate. You'll note that it calls the function at
WdfFunctions[WdfDriverCreateTableIndex]
.This appears to be the same for all the APIs in WDF.
Some spitball ideas:
WDFFUNCENUM
at build-time inwdk-sys
and generate a stub for each entry with a signature that matches the equivalent C function stub.Beta Was this translation helpful? Give feedback.
All reactions