Share via


PERF_INSTANCE_DEFINITION (Windows Embedded CE 6.0)

1/5/2010

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 might be 0 (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 0 (zero) if the instance does not have a name.

Requirements

Header windows.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Concepts

Performance Monitoring Structures