2 * Defines the COM interfaces of Game Explorer
4 * Copyright (C) 2008 Alistair Leslie-Hughes
5 * Copyright (C) 2010 Mariusz PluciĆski
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 import
"shobjidl.idl";
27 uuid(1DE6CE3D
-EA69
-4671-941F
-26F789F39C5B
),
29 helpstring("gameux public 1.0 Type Library")
33 importlib
("stdole2.tlb");
37 GIS_NOT_INSTALLED
= 1,
44 uuid(E7B2FB72
-D728
-49B3
-A5F2
-18EBF5F1349E
)
46 interface IGameExplorer
: IUnknown
48 HRESULT AddGame
([in] BSTR sGDFBinaryPath
,
49 [in] BSTR sInstallDirectory
,
50 [in] GAME_INSTALL_SCOPE installScope
,
51 [in, out] GUID
* pguidInstanceID
);
53 HRESULT RemoveGame
([in] GUID instanceID
);
55 HRESULT UpdateGame
([in] GUID instanceID
);
57 HRESULT VerifyAccess
([in] BSTR sGDFBinaryPath
, [out] BOOL
* pHasAccess
);
61 uuid(9A5EA990
-3034-4D6F
-9128-01F3C61022BC
)
65 [default] interface IGameExplorer
;