mirror of
https://github.com/reactos/wine.git
synced 2025-02-14 01:31:43 +00:00
68 lines
1.9 KiB
Plaintext
68 lines
1.9 KiB
Plaintext
/*
|
|
* Defines the COM interfaces of Game Explorer
|
|
*
|
|
* Copyright (C) 2008 Alistair Leslie-Hughes
|
|
* Copyright (C) 2010 Mariusz Pluciński
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
import "oaidl.idl";
|
|
import "ocidl.idl";
|
|
import "shobjidl.idl";
|
|
|
|
[
|
|
uuid(1DE6CE3D-EA69-4671-941F-26F789F39C5B),
|
|
version(1.0),
|
|
helpstring("gameux public 1.0 Type Library")
|
|
]
|
|
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;
|
|
};
|
|
}
|