Huw Davies : include: Add a missing parameter and fix a few attributes.

Alexandre Julliard julliard at winehq.org
Thu Jul 23 10:01:23 CDT 2009


Module: wine
Branch: master
Commit: c04275d75395848e43b765d65dd1ecb7511fe96e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c04275d75395848e43b765d65dd1ecb7511fe96e

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Jul 22 16:42:27 2009 +0100

include: Add a missing parameter and fix a few attributes.

---

 include/dbprop.idl |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/include/dbprop.idl b/include/dbprop.idl
index 5ed5301..088cf8c 100644
--- a/include/dbprop.idl
+++ b/include/dbprop.idl
@@ -30,7 +30,7 @@ interface IDBProperties : IUnknown {
 
     [call_as(GetProperties)] HRESULT RemoteGetProperties(
              [in] ULONG cPropertyIDSets,
-             [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
+             [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
              [in, out] ULONG *pcPropertySets,
              [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
              [out] IErrorInfo **ppErrorInfoRem);
@@ -39,17 +39,18 @@ interface IDBProperties : IUnknown {
              [in] ULONG cPropertyIDSets,
              [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
              [in, out] ULONG *pcPropertyInfoSets,
-             [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets);
+             [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
+             [out, /*annotation("__deref_out_z_opt")*/] OLECHAR **ppDescBuffer);
 
     [call_as(GetPropertyInfo)] HRESULT RemoteGetPropertyInfo(
              [in] ULONG cPropertyIDSets,
-             [in,size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
+             [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
              [in, out] ULONG *pcPropertyInfoSets,
              [out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
              [in, out] ULONG *pcOffsets,
              [out, size_is(,*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
              [in, out] ULONG *pcbDescBuffer,
-             [out, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
+             [in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
              [out] IErrorInfo **ppErrorInfoRem);
 
     [local] HRESULT SetProperties(
@@ -58,7 +59,7 @@ interface IDBProperties : IUnknown {
 
     [call_as(SetProperties)] HRESULT RemoteSetProperties(
              [in] ULONG cPropertySets,
-             [in, out, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
+             [in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
              [in] ULONG cTotalProps,
              [out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
              [out] IErrorInfo **ppErrorInfoRem);




More information about the wine-cvs mailing list