The version of the HTTP_RESPONSE structure is dependent on the version of the request queue used as follows:
- HTTP Server API Version 1.0: HTTP_RESPONSE_V1 structure.
- HTTP Server API Version 2.0: HTTP_RESPONSE_V2 structure.
Do not use HTTP_RESPONSE_V1 and HTTP_RESPONSE_V2 directly in your code; using HTTP_RESPONSE instead ensures the proper version of the structure is used based on the version of the request queue.
typedef HTTP_RESPONSE_V1 HTTP_RESPONSE;
typedef HTTP_RESPONSE_V2 HTTP_RESPONSE;
typedef HTTP_RESPONSE* PHTTP_RESPONSE;
HTTP_RESPONSE_V1
Request was from a v1 request queue.
HTTP_RESPONSE_V2
Request was from a v2 request queue.
PHTTP_RESPONSE
Pointer to an HTTP_RESPONSE structure.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | Http.h |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
