Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //COMM.H
- #include <windows.h>
- #ifndef COMM_H
- typedef HRESULT (WINAPI *_COMM_URLDownloadToFileA)(
- unsigned int pCaller,
- LPCTSTR szURL,
- LPCTSTR szFileName,
- DWORD dwReserved,
- LPBINDSTATUSCALLBACK lpfnCB
- ); //URLDownloadToFileAa
- #define COMM_H
- #endif
- #define COMM_OK 0
- #define COMM_GENERR 1
- #define COMM_MEMERR 2
- #define COMM_FILEERR 3
- HRESULT COMM_URLDownloadToFile(char *inURL, char *inFILE);
- DWORD COMM_URLDownloadToTempFile(char *inURL);
- DWORD COMM_URlDownloadToString(char *inURL, char *outBUFF);
- DWORD COMM_botUpdateStatus(char *status);
- DWORD COMM_botUpdateFiles(char *status);
Add Comment
Please, Sign In to add comment