Sample Code

Windows Driver Samples/ Toaster Sample Driver/ C++/ kmdf/ bus/ dynamic/ busenum.mof/

#PRAGMA AUTORECOVER

[Dynamic, Provider("WMIProv"),
 WMI,
 Description("Toaster Bus driver information"),
 guid("{0006A660-8F12-11d2-B854-00C04FAD5171}"),
 locale("MS\\0x409")]
class ToasterBusInformation
{
    [key, read]
     string InstanceName;
    [read] boolean Active;

    [WmiDataId(1),
     read,
     Description("Number of errors that occurred on this device")]
    uint32   ErrorCount;

    [WmiDataId(2),
     read,
     write,
     Description("The DebugPrintLevel property indicates the debug output level of toaster bus device.")]
    uint32 DebugPrintLevel;

};

Our Services

  • What our customers say about us?

© 2011-2025 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS