' ########################################################################################
' Microsoft Windows
' File: IEObj.inc
' Contents: Defines the IEFRAME API
' 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_IEObj_PBI)
#DEFINE PBX_IEObj_PBI
%IEOBJ_INC = 1
'//
'// Internet Explorer suppresses script-initiated dialog boxes and other UI
'// elements if the calling thread is not the thread for the active tab or is not
'// associated with the thread for the active tab.
'//
'// This method enables any thread to be associated with the specified tab thread
'// so that the dialog suppression and other logic treats code running on the
'// specified thread the same way that it does for the tab thread.
'//
'// Parameters:
'//
'// dwTabThreadID - ID of the tab thread
'// dwAssociatedThreadID - ID of the thread to associate with the tab thread.
'//
DECLARE FUNCTION IEAssociateThreadWithTab LIB "ieframe.dll" ALIAS "IEAssociateThreadWithTab" ( BYVAL dwTabThreadID AS QUAD , BYVAL dwAssociatedThreadID AS QUAD ) AS LONG
'//
'// This method unassociates a thread previously associated with IEAssociateThreadWithTab.
'//
'// Parameters:
'//
'// dwTabThreadID - ID of the tab thread
'// dwAssociatedThreadID - ID of the thread to disassociate with the tab thread.
'//
DECLARE FUNCTION IEDisassociateThreadWithTab LIB "ieframe.dll" ALIAS "IEDisassociateThreadWithTab" ( BYVAL dwTabThreadID AS QUAD , BYVAL dwAssociatedThreadID AS QUAD ) AS LONG
'// This method returns Internet Explorer's InPrivate Browsing status.
'//
'// Return values:
'// TRUE- InPrivate Browsing is enabled.
'// FALSE - InPrivate Browsing is not enabled.
'//
DECLARE FUNCTION IEIsInPrivateBrowsing LIB "ieframe.dll" ALIAS "IEIsInPrivateBrowsing" ( ) AS LONG
'// This method returns Internet Explorer's InPrivate Browsing status.
'//
'// Return values:
'// TRUE- InPrivate Blocking is enabled.
'// FALSE - InPrivate Blocking is not enabled.
'//
DECLARE FUNCTION IEInPrivateFilteringEnabled LIB "ieframe.dll" ALIAS "IEInPrivateFilteringEnabled" ( ) AS LONG