WINHTTP_EXTENDED_HEADER structure (winhttp.h)

Represents an HTTP request header as a name/value string pair.

Syntax

typedef struct _WINHTTP_EXTENDED_HEADER {
  union {
    PCWSTR pwszName;
    PCSTR  pszName;
  };
  union {
    PCWSTR pwszValue;
    PCSTR  pszValue;
  };
} WINHTTP_EXTENDED_HEADER, *PWINHTTP_EXTENDED_HEADER;

Members

pwszName

Type: IN PCWSTR

A wide string containing a name.

pszName

Type: IN PCSTR

A narrow string containing a name.

pwszValue

Type: IN PCWSTR

A wide string containing a value.

pszValue

Type: IN PCSTR

A narrow string containing a value.

Requirements

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

See also