Skip to content

Commit

Permalink
Add new interface and definition header for IDL docobjectservice-API.
Browse files Browse the repository at this point in the history
  • Loading branch information
kai1970 committed Dec 5, 2014
1 parent 78f2133 commit 54b3ab3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions mingw-w64-headers/include/docobjectservice.idl
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")

0 comments on commit 54b3ab3

Please sign in to comment.