microsoft / microsoft/Windows-driver-samples
Recommended way of exposing WMI enums?
Open
@yinghany is already working on this.
Since Nov 11, 2025.
question
- Dominant language
- C
- Stars
- 7.8k
- Forks
- 5k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 7
Description
I see that different approaches for exposing WMI enumerations are used in this repo. The toaster project uses an apparently undocumented WmiEnum qualifier in toaster.mof. Other projects such as the iSCSI config.mof are using ValueMap and Value qualifiers.
Which of these approaches are recommended? Also, could the repo be updated to only use the recommended approach, so that it's clear to new driver developers?
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.