microsoft / microsoft/Windows-driver-samples

Recommended way of exposing WMI enums?

Open
#1,034 3 comments 0 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.