home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
WindowsServerTrial
/
server.iso
/
sources
/
ustlib.mof
< prev
next >
Wrap
Text File
|
2008-01-19
|
2KB
|
82 lines
#pragma namespace("\\\\.\\root\\wmi")
// {09D2CF12-29BB-4fb2-B35B-AD99C670CE9A}
// static const GUID ust_EventTraceProvider_GUID =
// { 0x9d2cf12, 0x29bb, 0x4fb2, { 0xb3, 0x5b, 0xad, 0x99, 0xc6, 0x70, 0xce, 0x9a } };
[
dynamic: ToInstance,
Description( "UST trace event provider." ),
Guid( "{09D2CF12-29BB-4fb2-B35B-AD99C670CE9A}" )
]
class ust_EventTraceProvider : EventTrace
{
};
// {47E915BD-50E0-4dd9-ABDE-E6F98E9F015A}
// static const GUID ust_EventClass_GUID =
// { 0x47e915bd, 0x50e0, 0x4dd9, { 0xab, 0xde, 0xe6, 0xf9, 0x8e, 0x9f, 0x1, 0x5a } };
[
dynamic: ToInstance,
Description( "UST trace event class." ): Amended,
Guid("{47E915BD-50E0-4dd9-ABDE-E6F98E9F015A}")
]
class ust_EventClass : ust_EventTraceProvider
{
};
[
dynamic: ToInstance,
Description("UST library trace event type class."): Amended,
EventType( 1 )
]
class ust_LibraryEventTypeClass : ust_EventClass
{
[
WmiDataId( 1 ),
Description( "UST library code." ): Amended, read
]
uint32 Code;
[
WmiDataId( 2 ),
Description( "HRESULT value." ): Amended, read
]
sint32 Result;
};
[
dynamic: ToInstance,
Description("UST library string trace event type class."): Amended,
EventType( 2 )
]
class ust_LibraryStringEventTypeClass : ust_EventClass
{
[
WmiDataId( 1 ),
Description( "Trace String." ): Amended, read, StringTermination("NullTerminated"), Format("w")
]
string StringData;
};
[
dynamic: ToInstance,
Description("UST library perf stage event type class."): Amended,
EventType( 3 )
]
class ust_LibraryPerfStateEventTypeClass : ust_EventClass
{
[
WmiDataId( 1 ),
Description( "UST library code." ): Amended, read
]
uint32 Stage;
[
WmiDataId( 2 ),
Description( "UST library code." ): Amended, read
]
uint32 Phase;
};