' ########################################################################################
' Microsoft Windows
' File: downloadmgr.inc
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_downloadmgr_PBI)
#DEFINE PBX_downloadmgr_PBI
%EQUATE `DOWNLOADMGR_INC = 1
'/* header files for imported files */
#INCLUDE ONCE "Legacy/COM/Unknwn.inc"
#INCLUDE ONCE "Legacy/COM/OCIdl.inc"
'//---------------------------------------------------------------------------=
'// Internet Explorer Download Manager Interfaces
'// --------------------------------------------------------------------------------
'// GUIDS
'// --------------------------------------------------------------------------------
$IID_IDownloadManager = GUID$("{988934A4-064B-11D3-BB80-00104B35E7F9}")
$SID_SDownloadManager = $IID_IDownloadManager
' ########################################################################################
' IDownloadManager interface
' IID = 988934A4-064B-11D3-BB80-00104B35E7F9
' Inherited interface = IUnknown
' ########################################################################################
#IF NOT %DEF(%IDownloadManager_INTERFACE_DEFINED)
 %IDownloadManager_INTERFACE_DEFINED = 1
INTERFACE IDownloadManager $IID_IDownloadManager
 INHERIT IUnknown
 ' =====================================================================================
 METHOD Download ( ' VTable offset = 12
 BYVAL pmk AS IMoniker
 , BYVAL pbc AS IBindCtx
 , BYVAL dwBindVerb AS DWORD
 , BYVAL grfBINDF AS LONG
 , BYREF pBindInfo AS BINDINFO
 , BYREF pszHeaders AS WSTRINGZ
 , BYREF pszRedir AS WSTRINGZ
 , BYVAL uiCP AS DWORD
 ) AS LONG
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __IDownloadManager_INTERFACE_DEFINED__ */
#ENDIF
