Macros


ATL Server Library Reference 
HTTP_ERROR 

Use this macro to create an HTTP_CODE from an HTTP status code and a subcode.

#define HTTP_ERROR(err, sub)

Parameters

err

A WORD containing zero or an HTTP status code as described in RFC 2616 (http://ietf.org/rfc/rfc2616.txt).

sub

A WORD containing a predefined or user-defined subcode.

Return Value

Returns an HTTP_CODE with err in the low WORD and sub in the high WORD.

Remarks

Prefer the use of AtlsHttpError for creating HTTP_CODEs from their constituent parts.

Requirements

Header: atlserr.h

See Also

Reference

AtlsHttpError

Other Resources

ATL Server Concepts
ATL Server Reference
ATL Server Macros

Tags :


Page view tracker