WINHTTP_HEADER_NAME union (winhttp.h)

Represents an HTTP request header name.

Syntax

typedef union _WINHTTP_HEADER_NAME {
  PCWSTR pwszName;
  PCSTR  pszName;
} WINHTTP_HEADER_NAME, *PWINHTTP_HEADER_NAME;

Members

pwszName

Type: IN PCWSTR

A wide string containing a name.

pszName

Type: IN PCSTR

A narrow string containing a name.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header winhttp.h