⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e100.mof

📁 网络驱动开发
💻 MOF
字号:
[WMI, Dynamic, Provider("WMIProv"),
 guid("{F4A80276-23B7-11d1-9ED9-00A0C9010057}"),
 localeid(0x409),
 WmiExpense(1),
 Description("A UINT to set")]
class E100BExampleSetUINT_OID
{
   [key, read]
   string   InstanceName;           // Instance name returned from WMI

   [read]
   boolean  Active;

   [read, write,
    Description("Set this UINT then query it."),
    WmiDataId(1)] uint32   ExampleSetUINT_OID;
};

[WMI, Dynamic, Provider("WMIProv"),
 guid("{F4A80277-23B7-11d1-9ED9-00A0C9010057}"),
 localeid(0x409),
 WmiExpense(1),
 Description("A UINT to Query")]
class E100BExampleQueryUINT_OID
{
   [key, read]
   string   InstanceName;           // Instance name returned from WMI

   [read]
   boolean  Active;

   [read,
    Description("Query this UINT and get back the set UINT + 1."),
    WmiDataId(1)] uint32   ExampleQueryUINT_OID;
};

[WMI, Dynamic, Provider("WMIProv"),
 guid("{F4A80278-23B7-11d1-9ED9-00A0C9010057}"),
 localeid(0x409),
 WmiExpense(1),
 Description("An Array to query (should be 4 bytes of MAC address)")]
class E100BExampleQueryArrayOID
{
   [key, read]
   string   InstanceName;           // Instance name returned from WMI

   [read]
   boolean  Active;

   [read,
      Description("Number of array elements."),
      WmiDataId(1)] uint32 NumberElements;

   [read,
        Description("Query this array to get 4 bytes of MAC address."),
      WmiDataId(2),
      WmiSizeIs("NumberElements")]    uint8 ExampleQueryArray[];

};

[WMI, Dynamic, Provider("WMIProv"),
 guid("{F4A80279-23B7-11d1-9ED9-00A0C9010057}"),
 localeid(0x409),
 WmiExpense(1),
 Description("An ANSI string to Query")]
class E100BExampleQueryStringOID
{
   [key, read]
   string   InstanceName;           // Instance name returned from WMI

   [read]
   boolean  Active;

   [read,
    Description("Query this to get an ANSI string back (it will be the VENDORDESCRIPTOR string)."),
    WmiDataId(1)] string   ExampleQueryStringOID;
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -