The IResponse::get_Status method retrieves the current value of the Status property of the Response object.
HRESULT get_Status(
  BSTR * pbstrStatusRet  //pointer to a binary string that receives 
                         // the Status value
);
 You use this property to modify the status line returned by the server. Status values are defined in the HTTP specification.