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

Alexandre Julliard julliard at winehq.org
Mon Jun 7 10:02:29 CDT 2010


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

Author: Mariusz Pluciński <vshader at gmail.com>
Date:   Thu May 27 13:50:46 2010 +0200

gameux: Add declaration of IGameExplorer interface.

---

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

diff --git a/include/gameux.idl b/include/gameux.idl
index 639814d..4700d75 100644
--- a/include/gameux.idl
+++ b/include/gameux.idl
@@ -30,10 +30,38 @@ import "shobjidl.idl";
 ]
 library gameuxLib
 {
+    importlib("stdole2.tlb");
+
     typedef enum
     {
         GIS_NOT_INSTALLED  = 1,
         GIS_CURRENT_USER   = 2,
         GIS_ALL_USERS      = 3
     } GAME_INSTALL_SCOPE;
+
+    [
+      object,
+      uuid(E7B2FB72-D728-49B3-A5F2-18EBF5F1349E)
+    ]
+    interface IGameExplorer : IUnknown
+    {
+        HRESULT AddGame([in] BSTR sGDFBinaryPath,
+                    [in] BSTR sInstallDirectory,
+                    [in] GAME_INSTALL_SCOPE installScope,
+                    [in, out] GUID* pguidInstanceID);
+
+        HRESULT RemoveGame([in] GUID instanceID);
+
+        HRESULT UpdateGame([in] GUID instanceID);
+
+        HRESULT VerifyAccess([in] BSTR sGDFBinaryPath, [out] BOOL* pHasAccess);
+    };
+
+    [
+      uuid(9A5EA990-3034-4D6F-9128-01F3C61022BC)
+    ]
+    coclass GameExplorer
+    {
+        [default] interface IGameExplorer;
+    };
 }




More information about the wine-cvs mailing list