-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new interface and definition header for IDL docobjectservice-API.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
cpp_quote("/**") | ||
cpp_quote(" * This file is part of the mingw-w64 runtime package.") | ||
cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.") | ||
cpp_quote(" */") | ||
|
||
import "objidl.idl"; | ||
import "mshtml.idl"; | ||
|
||
cpp_quote("") | ||
cpp_quote("#include <winapifamily.h>") | ||
cpp_quote("") | ||
|
||
interface IDocObjectService; | ||
|
||
cpp_quote("") | ||
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") | ||
|
||
[object, uuid (3050f801-98b5-11cf-bb82-00aa00bdce0b)] | ||
interface IDocObjectService : IUnknown { | ||
HRESULT STDMETHODCALLTYPE FireBeforeNavigate2 ([in] IDispatch *pDispatch, [in, string] LPCWSTR lpszUrl, [in] DWORD dwFlags, [in, string] LPCWSTR lpszFrameName, [out] BYTE *pPostData, [in] DWORD cbPostData, [in, string] LPCWSTR lpszHeaders, [in] BOOL fPlayNavSound, [out] BOOL *pfCancel); | ||
HRESULT STDMETHODCALLTYPE FireNavigateComplete2 ([in] IHTMLWindow2 *pHTMLWindow2, [in] DWORD dwFlags); | ||
HRESULT STDMETHODCALLTYPE FireDownloadBegin (); | ||
HRESULT STDMETHODCALLTYPE FireDownloadComplete (); | ||
HRESULT STDMETHODCALLTYPE FireDocumentComplete ([in] IHTMLWindow2 *pHTMLWindow, [in} DWORD dwFlags); | ||
HRESULT STDMETHODCALLTYPE UpdateDesktopComponent ([in] IHTMLWindow2 *pHTMLWindow); | ||
HRESULT STDMETHODCALLTYPE GetPendingUrl ([out] BSTR *pbstrPendingUrl); | ||
HRESULT STDMETHODCALLTYPE ActiveElementChanged ([in] IHTMLElement *pHTMLElement); | ||
HRESULT STDMETHODCALLTYPE GetUrlSearchComponent ([out] BSTR *pbstrSearch); | ||
HRESULT STDMETHODCALLTYPE IsErrorUrl ([in, string] LPCWSTR lpszUrl, [out] BOOL *pfIsError); | ||
}; | ||
|
||
cpp_quote("#endif") |