Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
Reference
Libraries Reference
ATL Server
Macros
 HTTP_ERROR
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
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.

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

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

Header: atlserr.h

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker