Represents the event type class for handle creation or closure events.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[Dynamic, EventType{32,33}, EventTypeName{CreateHandle,CloseHandle}]
class ObHandleEvent : ObTrace
{
uint32 Handle;
uint32 Object;
string ObjectName;
uint16 ObjectType;
};
Members
The ObHandleEvent class has these types of members:
Properties
The ObHandleEvent class has these properties.
Handle
Data type: uint32
Access type: Read-only
Qualifiers: Format ("x"), WmiDataId (2)
The object handle.
Object
Data type: uint32
Access type: Read-only
Qualifiers: Format ("x"), Pointer, WmiDataId (1)
The object.
ObjectName
Data type: string
Access type: Read-only
Qualifiers: Format ("w"), StringTermination ("NullTerminated"), WmiDataId (4)
The object name.
ObjectType
Data type: uint16
Access type: Read-only
Qualifiers: WmiDataId (3)
The object type.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| MOF | Wmicore.mof |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
