DECLARE FUNCTION URLDownloadToCacheFile LIB "urlmon" ALIAS "URLDownloadToCacheFileA" _
(lpUnkcaller AS LONG, _
szURL AS STRING, _
byref szFileName AS STRING, _
dwBufLength AS LONG, _
dwReserved AS LONG, _
IBindStatusCallback AS LONG) AS LONG
DECLARE FUNCTION URLDownloadToFile LIB "urlmon" ALIAS "URLDownloadToFileA" _
(BYVAL pCaller AS LONG, _
BYVAL szURL AS STRING, _
BYVAL szFileName AS STRING, _
BYVAL dwReserved AS LONG, _
BYVAL lpfnCB AS LONG) AS LONG
$DEFINE BINDF_GETNEWESTVERSION &H10
$DEFINE INTERNET_FLAG_RELOAD &H80000000
$IFNDEF __WIN32API
DECLARE FUNCTION ShellExecute LIB "shell32" ALIAS "ShellExecuteA" _
(hwnd AS LONG, _
lpOperation AS STRING, _
lpFile AS STRING, _
lpParameters AS STRING, _
lpDirectory AS STRING, _
nShowCmd AS LONG) AS LONG
CONST SW_NORMAL = 1
DECLARE FUNCTION GetDesktopWindow LIB "user32" () AS LONG
$ENDIF
DECLARE FUNCTION fbParserVersion LIB "fbDBGParser" ALIAS "fbParserVersion@4" (lpRetString AS LONG) AS INTEGER
DECLARE FUNCTION fbParseFile LIB "fbDBGParser" ALIAS "fbParseFile@20" (lpSrcFile AS LONG, _
lpDatFile AS LONG, lpInitData AS LONG, lpRetString AS LONG, buflen AS INTEGER) AS INTEGER
|