microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.92k stars 4.93k forks source link

Recommended way of exposing WMI enums? #1034

Open forderud opened 1 year ago

forderud commented 1 year ago

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?