microsoft / microsoft/wdkmetadata
Missing WDF Device Functions in Metadata
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 110
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
While utilizing CsWin32 to generate P/Invoke signatures, I've discovered that several essential WDF device functions are absent from the available metadata:
WdfDeviceSetPnpCapabilities
WdfDeviceSetPowerCapabilities
WdfDeviceAssignMofResourceName
WdfDeviceSetFailed
WdfDeviceSetDeviceState
The lack of these functions is constraining the capabilities of the generated projects, impacting the development of varied and dependable drivers.
Could you please review the metadata and consider incorporating these missing functions, along with any other absent ones, to address this limitation?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the WDF metadata entries used by CsWin32 for WdfDeviceSetPnpCapabilities, WdfDeviceSetPowerCapabilities, WdfDeviceAssignMofResourceName, WdfDeviceSetFailed, and WdfDeviceSetDeviceState. Compare the available metadata with the corresponding WDF API definitions and verify that generated P/Invoke signatures include the missing functions. Done means the named functions, plus any confirmed omissions, are represented in the metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100