Changeset 141 for Include/api_wininet.sbp
- Timestamp:
- Mar 8, 2007, 10:42:50 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/api_wininet.sbp
r1 r141 5 5 #define _INC_WININET 6 6 7 #ifdef UNICODE 8 Const _FuncName_InternetOpen = "InternetOpenW" 9 Const _FuncName_InternetConnect = "InternetConnectW" 10 Const _FuncName_FtpGetFile = "FtpGetFileW" 11 Const _FuncName_FtpGetCurrentDirectory = "FtpGetCurrentDirectoryW" 12 Const _FuncName_FtpSetCurrentDirectory = "FtpSetCurrentDirectoryW" 13 Const _FuncName_FtpFindFirstFile = "FtpFindFirstFileW" 14 Const _FuncName_InternetFindNextFile = "InternetFindNextFileW" 15 #else 16 Const _FuncName_InternetOpen = "InternetOpenA" 17 Const _FuncName_InternetConnect = "InternetConnectA" 18 Const _FuncName_FtpGetFile = "FtpGetFileA" 19 Const _FuncName_FtpGetCurrentDirectory = "FtpGetCurrentDirectoryA" 20 Const _FuncName_FtpSetCurrentDirectory = "FtpSetCurrentDirectoryA" 21 Const _FuncName_FtpFindFirstFile = "FtpFindFirstFileA" 22 Const _FuncName_InternetFindNextFile = "InternetFindNextFileA" 23 #endif 7 24 8 25 TypeDef HINTERNET = VoidPtr … … 24 41 Const INTERNET_OPEN_TYPE_PRECONFIG_WITH_NO_AUTOPROXY = 4 'prevent using java/script/INS 25 42 26 Declare Function InternetOpen Lib "wininet.dll" Alias "InternetOpenA"(27 lpszAgent As LPC STR,43 Declare Function InternetOpen Lib "wininet.dll" Alias _FuncName_InternetOpen ( 44 lpszAgent As LPCTSTR, 28 45 dwAccessType As DWord, 29 lpszProxy As LPC STR,30 lpszProxyBypass As LPC STR,46 lpszProxy As LPCTSTR, 47 lpszProxyBypass As LPCTSTR, 31 48 dwFlags As DWord) As HINTERNET 32 49 … … 44 61 Const INTERNET_DEFAULT_SOCKS_PORT = 1080 'default for SOCKS firewall servers. 45 62 46 Declare Function InternetConnect Lib "wininet.dll" Alias "InternetConnectA"(63 Declare Function InternetConnect Lib "wininet.dll" Alias _FuncName_InternetConnect ( 47 64 hInternet As HINTERNET, 48 lpszServerName As LPC STR,65 lpszServerName As LPCTSTR, 49 66 nServerPort As INTERNET_PORT, 50 lpszUserName As LPC STR,51 lpszPassword As LPC STR,67 lpszUserName As LPCTSTR, 68 lpszPassword As LPCTSTR, 52 69 dwService As DWord, 53 70 dwFlags As DWord, … … 62 79 '---------------- 63 80 64 Declare Function FtpGetFile Lib "wininet.dll" Alias "FtpGetFileA"(81 Declare Function FtpGetFile Lib "wininet.dll" Alias _FuncName_FtpGetFile ( 65 82 hConnect As HINTERNET, 66 lpszRemoteFile As LPC STR,67 lpszNewFile As LPC STR,83 lpszRemoteFile As LPCTSTR, 84 lpszNewFile As LPCTSTR, 68 85 fFailIfExists As BOOL, 69 86 dwFlagsAndAttributes As DWord, … … 71 88 dwContext As DWORD_PTR) As BOOL 72 89 73 Declare Function FtpGetCurrentDirectory Lib "wininet.dll" Alias "FtpGetCurrentDirectoryA"(90 Declare Function FtpGetCurrentDirectory Lib "wininet.dll" Alias _FuncName_FtpGetCurrentDirectory ( 74 91 hConnect As HINTERNET, 75 lpszCurrentDirectory As LP STR,92 lpszCurrentDirectory As LPTSTR, 76 93 lpdwCurrentDirectory As DWord) As BOOL 77 94 78 Declare Function FtpSetCurrentDirectory Lib "wininet.dll" Alias "FtpSetCurrentDirectoryA"(95 Declare Function FtpSetCurrentDirectory Lib "wininet.dll" Alias _FuncName_FtpSetCurrentDirectory ( 79 96 hConnect As HINTERNET, 80 lpszDirectory As LPC STR) As BOOL97 lpszDirectory As LPCTSTR) As BOOL 81 98 82 Declare Function FtpFindFirstFile Lib "wininet.dll" Alias "FtpFindFirstFileA"(99 Declare Function FtpFindFirstFile Lib "wininet.dll" Alias _FuncName_FtpFindFirstFile ( 83 100 hConnect As HINTERNET, 84 lpszSearchFile As LPC STR,85 lpFindFileData As LPWIN32_FIND_DATA,101 lpszSearchFile As LPCTSTR, 102 ByRef FindFileData As WIN32_FIND_DATA, 86 103 dwFlags As DWord, 87 104 dwContext As DWORD_PTR) As HINTERNET 88 105 89 Declare Function InternetFindNextFile Lib "wininet.dll" Alias "InternetFindNextFileA"(106 Declare Function InternetFindNextFile Lib "wininet.dll" Alias _FuncName_InternetFindNextFile ( 90 107 hFind As HINTERNET, 91 lpvFindData As VoidPtr) As BOOL108 ByREf vFindData As Any) As BOOL 92 109 93 110
Note:
See TracChangeset
for help on using the changeset viewer.