captmicro

Untitled

Feb 28th, 2010
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | None | 0 0
  1. //COMM.H
  2. #include <windows.h>
  3.  
  4. #ifndef COMM_H
  5. typedef HRESULT (WINAPI *_COMM_URLDownloadToFileA)(
  6.     unsigned int pCaller,
  7.     LPCTSTR szURL,
  8.     LPCTSTR szFileName,
  9.     DWORD dwReserved,
  10.     LPBINDSTATUSCALLBACK lpfnCB
  11. ); //URLDownloadToFileAa
  12. #define COMM_H
  13. #endif
  14.  
  15. #define COMM_OK 0
  16. #define COMM_GENERR 1
  17. #define COMM_MEMERR 2
  18. #define COMM_FILEERR 3
  19.  
  20. HRESULT COMM_URLDownloadToFile(char *inURL, char *inFILE);
  21. DWORD COMM_URLDownloadToTempFile(char *inURL);
  22. DWORD COMM_URlDownloadToString(char *inURL, char *outBUFF);
  23.  
  24. DWORD COMM_botUpdateStatus(char *status);
  25. DWORD COMM_botUpdateFiles(char *status);
Add Comment
Please, Sign In to add comment