WINHTTP_REQUEST_TIMES structure (winhttp.h)

The WINHTTP_REQUEST_TIMES structure contains a variety of timing information for a request.

Syntax

typedef struct _WINHTTP_REQUEST_TIMES {
  ULONG     cTimes;
  ULONGLONG rgullTimes[WinHttpRequestTimeMax];
} WINHTTP_REQUEST_TIMES, *PWINHTTP_REQUEST_TIMES;

Members

cTimes

Unsigned long integer value that contains the number of timings to retrieve. This should generally be set to WinHttpRequestTimeLast.

rgullTimes[WinHttpRequestTimeMax]

Array of unsigned long long integer values that will contain the returned timings, indexed by WINHTTP_REQUEST_TIME_ENTRY.

Times are measured as performance counter values; for more information, see QueryPerformanceCounter.

Remarks

This structure is used with WinHttpQueryOption to retrieve timing information for a request by specifying the WINHTTP_OPTION_REQUEST_TIMES flag.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1903 [desktop apps only]
Minimum supported server Windows Server 2019 [desktop apps only]
Header winhttp.h

See also

WinHttpQueryOption

QueryPerformanceCounter