Vincent Povirk : ole32: Only warn about storage share mode once.

Alexandre Julliard julliard at winehq.org
Fri Feb 12 10:17:42 CST 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Thu Feb 11 16:49:21 2010 -0600

ole32: Only warn about storage share mode once.

---

 dlls/ole32/storage32.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index 8fe0542..3beff78 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -6353,7 +6353,11 @@ HRESULT WINAPI StgCreateDocfile(
     fileAttributes = FILE_ATTRIBUTE_NORMAL | FILE_FLAG_RANDOM_ACCESS;
 
   if (STGM_SHARE_MODE(grfMode) && !(grfMode & STGM_SHARE_DENY_NONE))
+  {
+    static int fixme;
+    if (!fixme++)
       FIXME("Storage share mode not implemented.\n");
+  }
 
   *ppstgOpen = 0;
 




More information about the wine-cvs mailing list