NTSTATUS
PerfInfoQueryPerformanceTraceInformation(
  IN  PVOID SystemInformation,
  IN  ULONG SystemInformationLength,
  OUT PULONG ReturnLength
  );

Routine Description:

    Satisfy queries for performance trace state information.

Arguments:

    SystemInformation - A pointer to a buffer which receives the specified
        information.  This is of type PPERFINFO_PERFORMANCE_INFORMATION.

    SystemInformationLength - Specifies the length in bytes of the system
        information buffer.

    ReturnLength - Receives the number of bytes placed in the system information buffer.

Return Value:

    STATUS_SUCCESS