CHttpFile::QueryInfoStatusCode

This method returns the status code associated with an HTTP request and place it in the supplied dwStatusCode parameter. Use this method only after a successful call to SendRequest or on a CHttpFile object successfully created by OpenURL.

At a Glance

Header file: Afxinet.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL QueryInfoStatusCode( DWORD& dwStatusCode ) const;