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.

44 lines
1.1 KiB

  1. /*-----------------------------------------------------------------------------
  2. dlapi.h
  3. contains declarations for download api soft link wrappers
  4. Copyright (C) 1996 Microsoft Corporation
  5. All rights reserved.
  6. Authors:
  7. ChrisK ChrisKauffman
  8. History:
  9. 7/22/96 ChrisK Cleaned and formatted
  10. -----------------------------------------------------------------------------*/
  11. #ifndef _DLAPI_H
  12. #define _DLAPI_H
  13. class CDownLoadAPI
  14. {
  15. public:
  16. CDownLoadAPI();
  17. ~CDownLoadAPI();
  18. HRESULT DownLoadInit(PTSTR, DWORD_PTR *, DWORD_PTR *, HWND);
  19. HRESULT DownLoadCancel(DWORD_PTR);
  20. HRESULT DownLoadExecute(DWORD_PTR);
  21. HRESULT DownLoadClose(DWORD_PTR);
  22. HRESULT DownLoadSetStatus(DWORD_PTR, INTERNET_STATUS_CALLBACK);
  23. HRESULT DownLoadProcess(DWORD_PTR);
  24. private:
  25. HINSTANCE m_hDLL;
  26. PFNDOWNLOADINIT m_pfnDownLoadInit;
  27. PFNDOWNLOADCANCEL m_pfnDownLoadCancel;
  28. PFNDOWNLOADEXECUTE m_pfnDownLoadExecute;
  29. PFNDOWNLOADCLOSE m_pfnDownLoadClose;
  30. PFNDOWNLOADSETSTATUS m_pfnDownLoadSetStatus;
  31. PFNDOWNLOADPROCESS m_pfnDownLoadProcess;
  32. HRESULT LoadAPI(LPSTR, FARPROC*);
  33. };
  34. #endif // _DLAPI_H