Huw Davies : include: Add IProvideRuntimeContext and a few annotations.
Alexandre Julliard
julliard at winehq.org
Thu Feb 25 11:36:23 CST 2010
Module: wine
Branch: master
Commit: f7830e9fc409a48871a52f8690ae69e808875985
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f7830e9fc409a48871a52f8690ae69e808875985
Author: Huw Davies <huw at codeweavers.com>
Date: Thu Feb 25 14:34:08 2010 +0000
include: Add IProvideRuntimeContext and a few annotations.
---
include/dispex.idl | 26 +++++++++++++++++++-------
1 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/include/dispex.idl b/include/dispex.idl
index b1759dd..6f1c545 100644
--- a/include/dispex.idl
+++ b/include/dispex.idl
@@ -81,13 +81,13 @@ interface IDispatchEx : IDispatch
[local]
HRESULT InvokeEx(
- [in] DISPID id,
- [in] LCID lcid,
- [in] WORD wFlags,
- [in] DISPPARAMS *pdp,
- [out] VARIANT *pvarRes,
- [out] EXCEPINFO *pei,
- [in, unique] IServiceProvider *pspCaller);
+ [in, annotation("__in")] DISPID id,
+ [in, annotation("__in")] LCID lcid,
+ [in, annotation("__in")] WORD wFlags,
+ [in, annotation("__in")] DISPPARAMS *pdp,
+ [out, annotation("__out_opt")] VARIANT *pvarRes,
+ [out, annotation("__out_opt")] EXCEPINFO *pei,
+ [in, unique, annotation("__in_opt")] IServiceProvider *pspCaller);
[call_as(InvokeEx)]
HRESULT RemoteInvokeEx(
@@ -191,3 +191,15 @@ interface ICanHandleException : IUnknown
[in] EXCEPINFO *pExcepInfo,
[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);
+}
More information about the wine-cvs
mailing list