Share via


PERF_INSTANCE_DEFINITION

This structure contains the instance-specific information for a block of performance data. There is one PERF_INSTANCE_DEFINITION structure for each instance specified in the PERF_OBJECT_TYPE structure.

typedef struct _PERF_INSTANCE_DEFINITION {
  DWORD ByteLength; 
  DWORD ParentObjectTitleIndex; 
  DWORD ParentObjectInstance; 
  DWORD UniqueID; 
  DWORD NameOffset; 
  DWORD NameLength; 
} PERF_INSTANCE_DEFINITION; 

Members

  • ByteLength
    Specifies the length, in bytes, of this structure, including the subsequent name.
  • ParentObjectTitleIndex
    Specifies the index of the name of the parent object in the title database. For example, if the object is a thread, the parent object type is a process, or if the object is a logical drive, the parent is a physical drive.
  • ParentObjectInstance
    Specifies the index to an instance of the parent object type that is the parent of this instance. This member may be zero or greater.
  • UniqueID
    Specifies the unique identifier used instead of the instance name. This value of this member is PERF_NO_UNIQUE_ID if there is no such identifier.
  • NameOffset
    Specifies the offset from the beginning of this structure to the Unicode name of this instance.
  • NameLength
    Specifies the length, in bytes, of the instance name. This member is zero if the instance does not have a name.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Windows.h.

See Also

Performance Monitoring Structures

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.