www.pudn.com > WinInet.rar > InetSession.h
// InetSession.h: interface for the CInetSession class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_INETSESSION_H__DF17AB6F_AA34_11D6_9259_F8EB1584697E__INCLUDED_)
#define AFX_INETSESSION_H__DF17AB6F_AA34_11D6_9259_F8EB1584697E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "afxinet.h"//INTERNET程序必须加载的头文件。
struct DLPARAM;
class CInetSession : public CInternetSession
{
public:
virtual void OnStatusCallback(DWORD dwContext,DWORD dwInternetStatus,LPVOID lpStatusInformation,DWORD dwStatusInformationLength);
DLPARAM* m_pDlParam;//下载任务参数结构指针。
CInetSession(DLPARAM* pDlParam);
virtual ~CInetSession();
};
#endif // !defined(AFX_INETSESSION_H__DF17AB6F_AA34_11D6_9259_F8EB1584697E__INCLUDED_)