79 lines
1.9 KiB
Plaintext
79 lines
1.9 KiB
Plaintext
[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;
|
|
};
|
|
|