Minor fix to pstore.idl

Filip Navara xnavara at volny.cz
Mon Sep 27 15:04:36 CDT 2004

When trying out my addition of basic syntax checking to WIDL I found an 
error in pstore.idl. I'm not sure if I fixed it correctly so it would be 
nice if someone can verify it.

Fix IDL prototypes of IPStore::WriteItem and IPStore::CloseItem.
-------------- next part --------------
Index: include/pstore.idl
RCS file: /home/wine/wine/include/pstore.idl,v
retrieving revision 1.2
diff -u -r1.2 pstore.idl
--- include/pstore.idl	6 Aug 2004 17:35:31 -0000	1.2
+++ include/pstore.idl	27 Sep 2004 19:53:50 -0000
@@ -230,8 +230,8 @@
         [in] const GUID* pItemType,
         [in] const GUID* pItemSubtype,
         [in] LPCWSTR szItemName,
-        [out] DWORD cbData,
-        [out] BYTE *ppbData,
+        [in] DWORD cbData,
+        [in,size_is(cbData)] BYTE *ppbData,
         [in] PPST_PROMPTIFO pPromptInfo,
         [in] DWORD dwDefaultConfirmationStyle,
         [in] DWORD dwFlags);
@@ -246,7 +246,7 @@
         [in] DWORD dwFlags );
     HRESULT CloseItem( 
-        [out] PST_KEY Key, 
+        [in] PST_KEY Key, 
         [in] const GUID* pItemType, 
         [in] const GUID* pItemSubtype,
         [in] LPCWSTR* szItemName,

More information about the wine-patches mailing list