Commit f7830e9f authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

include: Add IProvideRuntimeContext and a few annotations.

parent b2c8f351
...@@ -81,13 +81,13 @@ interface IDispatchEx : IDispatch ...@@ -81,13 +81,13 @@ interface IDispatchEx : IDispatch
[local] [local]
HRESULT InvokeEx( HRESULT InvokeEx(
[in] DISPID id, [in, annotation("__in")] DISPID id,
[in] LCID lcid, [in, annotation("__in")] LCID lcid,
[in] WORD wFlags, [in, annotation("__in")] WORD wFlags,
[in] DISPPARAMS *pdp, [in, annotation("__in")] DISPPARAMS *pdp,
[out] VARIANT *pvarRes, [out, annotation("__out_opt")] VARIANT *pvarRes,
[out] EXCEPINFO *pei, [out, annotation("__out_opt")] EXCEPINFO *pei,
[in, unique] IServiceProvider *pspCaller); [in, unique, annotation("__in_opt")] IServiceProvider *pspCaller);
[call_as(InvokeEx)] [call_as(InvokeEx)]
HRESULT RemoteInvokeEx( HRESULT RemoteInvokeEx(
...@@ -191,3 +191,15 @@ interface ICanHandleException : IUnknown ...@@ -191,3 +191,15 @@ interface ICanHandleException : IUnknown
[in] EXCEPINFO *pExcepInfo, [in] EXCEPINFO *pExcepInfo,
[in] VARIANT *pvar); [in] VARIANT *pvar);
} }
[
object,
uuid(10e2414a-ec59-49d2-bc51-5add2c36febc),
pointer_default(unique)
]
interface IProvideRuntimeContext : IUnknown
{
HRESULT GetCurrentSourceContext(
[out] DWORD_PTR *pdwContext,
[out] VARIANT_BOOL *pfExecutingGlobalCode);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment