16 lines
316 B
Plaintext
16 lines
316 B
Plaintext
|
[WMI,
|
||
|
Dynamic,
|
||
|
Provider("WmiProv"),
|
||
|
guid("{15D851F1-6539-11d1-A529-00A0C9062910}")]
|
||
|
class WmiSampleClass : WmiBase
|
||
|
{
|
||
|
[key, read]
|
||
|
string InstanceName;
|
||
|
[read] bool Active;
|
||
|
|
||
|
[WmiDataId(1)] uint32 dw1;
|
||
|
[WmiDataId(2)] uint32 dw2;
|
||
|
[WmiDataId(3)] uint32 dw3;
|
||
|
[WmiDataId(4)] uint32 dw4;
|
||
|
};
|