windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/eventprovshell/evprov.mof
2020-09-26 16:20:57 +08:00

32 lines
513 B
Plaintext

class MyEvent : __ExtrinsicEvent
{
string Name;
sint32 value;
};
instance of __Win32Provider
{
Name = "MyEventProvider";
CLSID = "{4916157A-FBE7-11d1-AEC4-00C04FB68820}";
DefaultMachineName = NULL;
ClientLoadableCLSID = NULL;
ImpersonationLevel = 0;
PerUserInitialization = FALSE;
Pure = TRUE;
UnloadTimeout = NULL;
};
instance of __EventProviderRegistration
{
provider = "__Win32Provider=\"MyEventProvider\"";
EventQueryList = { "select * from MyEvent" };
};