Mariusz Pluciński : gameux: Add declaration of IGameStatisticsMgr interface.

Alexandre Julliard julliard at winehq.org
Tue Jun 8 10:08:24 CDT 2010


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

Author: Mariusz Pluciński <vshader at gmail.com>
Date:   Sat May 29 20:28:26 2010 +0200

gameux: Add declaration of IGameStatisticsMgr interface.

---

 include/gameux.idl |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/include/gameux.idl b/include/gameux.idl
index b531fed..07b9870 100644
--- a/include/gameux.idl
+++ b/include/gameux.idl
@@ -39,6 +39,18 @@ library gameuxLib
         GIS_ALL_USERS      = 3
     } GAME_INSTALL_SCOPE;
 
+    typedef enum
+    {
+        GAMESTATS_OPEN_OPENORCREATE = 0,
+        GAMESTATS_OPEN_OPENONLY = 1
+    } GAMESTATS_OPEN_TYPE;
+
+    typedef enum
+    {
+        GAMESTATS_OPEN_CREATED = 0,
+        GAMESTATS_OPEN_OPENED = 1
+    } GAMESTATS_OPEN_RESULT;
+
     [
       object,
       uuid(E7B2FB72-D728-49B3-A5F2-18EBF5F1349E)
@@ -110,6 +122,22 @@ library gameuxLib
     };
 
     [
+      object,
+      uuid(AFF3EA11-E70E-407d-95DD-35E612C41CE2)
+    ]
+    interface IGameStatisticsMgr : IUnknown
+    {
+        HRESULT GetGameStatistics(
+                    [string, in] LPCWSTR GDFBinaryPath,
+                    [in] GAMESTATS_OPEN_TYPE openType,
+                    [out] GAMESTATS_OPEN_RESULT* pOpenResult,
+                    [retval, out] IGameStatistics** ppiStats);
+
+        HRESULT RemoveGameStatistics(
+                    [string, in] LPCWSTR GDFBinaryPath);
+    };
+
+    [
       uuid(9A5EA990-3034-4D6F-9128-01F3C61022BC)
     ]
     coclass GameExplorer




More information about the wine-cvs mailing list