www.pudn.com > WinInet.rar > InetDownload.h
// InetDownload.h : main header file for the INETDOWNLOAD application
//
#if !defined(AFX_INETDOWNLOAD_H__DF17AB65_AA34_11D6_9259_F8EB1584697E__INCLUDED_)
#define AFX_INETDOWNLOAD_H__DF17AB65_AA34_11D6_9259_F8EB1584697E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#define WM_USER_THREAD_STATUS (WM_USER+1)
#define WM_USER_THREAD_PROGRESS (WM_USER+2)
#define WM_USER_THREAD_END (WM_USER+3)
//删除由NEW产生的对象,
#define DEL(object) if(object!=NULL) delete object
/////////////////////////////////////////////////////////////////////////////
// CInetDownloadApp:
// See InetDownload.cpp for the implementation of this class
//
class CInetDownloadApp : public CWinApp
{
public:
CInetDownloadApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInetDownloadApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CInetDownloadApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INETDOWNLOAD_H__DF17AB65_AA34_11D6_9259_F8EB1584697E__INCLUDED_)