Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.0 KiB

#ifndef _OTHERCON_HXX
#define _OTHERCON_HXX
#include "anycon.hxx"
#include "pusrdata.hxx"
class COtherConnection :
public CAnyConnection,
public CCriticalSection {
public:
COtherConnection (
BOOL bSecure,
INTERNET_PORT nServerPort,
LPCTSTR lpszUserName,
LPCTSTR lpszPassword,
BOOL bIgnoreSecurityDlg);
virtual ~COtherConnection ();
virtual HINTERNET OpenRequest (
LPTSTR lpszUrl);
virtual BOOL SendRequest(
HINTERNET hReq,
LPCTSTR lpszHdr,
DWORD cbHdr,
LPBYTE pidi);
virtual BOOL SendRequest(
HINTERNET hReq,
LPCTSTR lpszHdr,
CStream *pStream);
virtual BOOL ReadFile (
HINTERNET hReq,
LPVOID lpvBuffer,
DWORD cbBuffer,
LPDWORD lpcbRd);
inline BOOL bValid () CONST {return m_bValid;};
private:
BOOL m_bValid;
};
#endif