' ########################################################################################
' Microsoft Windows
' File: msiehost.inc
' Contents: Definitions for Web Browser OC host (not automatable)
' 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.
' ########################################################################################
'// Definitions for IOleCommandTarget IDs
#IF NOT %DEF(PBX_msiehost_PBI)
#DEFINE PBX_msiehost_PBI
%EQUATE `MSIEHOST_INC = 1
'EXTERN_C const GUID CGID_InternetExplorer;
$CGID_InternetExplorer = GUID$("{00ED7EEB-4DF7-D211-BB7F-00104B35E7F9}")
'// CGID_InternetExplorer CMDID definitions
%EQUATE `IECMDID_CLEAR_AUTOCOMPLETE_FOR_FORMS = 0
%EQUATE `IECMDID_SETID_AUTOCOMPLETE_FOR_FORMS = 1
%EQUATE `IECMDID_BEFORENAVIGATE_GETSHELLBROWSE = 2
%EQUATE `IECMDID_BEFORENAVIGATE_DOEXTERNALBROWSE = 3
%EQUATE `IECMDID_BEFORENAVIGATE_GETIDLIST = 4
'// Takes a VARIANT of type VT_BOOL for pvarargIn
'// to set it.
%EQUATE `IECMDID_SET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW = 5
'// Sets a VARIANT of type VT_BOOL for pvarargOut
%EQUATE `IECMDID_GET_INVOKE_DEFAULT_BROWSER_ON_NEW_WINDOW = 6
'// Values for first parameter of IEID_CLEAR_AUTOCOMPLETE_FOR_FORMS
%EQUATE `IECMDID_ARG_CLEAR_FORMS_ALL = 0
%EQUATE `IECMDID_ARG_CLEAR_FORMS_ALL_BUT_PASSWORDS = 1
%EQUATE `IECMDID_ARG_CLEAR_FORMS_PASSWORDS_ONLY = 2
#ENDIF
