winex11drv: Distinguish left and right keys for shift, ctrl and alt.
[wine/wine64.git] / include / unknwn.idl
blob9071973fbe15b03117ab8762fa097c1267e21afe
1 /*
2 * Copyright 2002 Ove Kaaven
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef DO_NO_IMPORTS
20 import "wtypes.idl";
21 #endif
23 /* Interfaces */
26 local,
27 object,
28 uuid(00000000-0000-0000-C000-000000000046),
29 pointer_default(unique)
31 interface IUnknown
33 typedef [unique] IUnknown *LPUNKNOWN;
35 HRESULT QueryInterface(
36 [in] REFIID riid,
37 [out, iid_is(riid)] void **ppvObject);
38 ULONG AddRef();
39 ULONG Release();
43 object,
44 uuid(00000001-0000-0000-C000-000000000046),
45 pointer_default(unique)
47 interface IClassFactory : IUnknown
49 typedef [unique] IClassFactory *LPCLASSFACTORY;
51 [local]
52 HRESULT CreateInstance(
53 [in, unique] IUnknown *pUnkOuter,
54 [in] REFIID riid,
55 [out, iid_is(riid)] void **ppvObject);
57 [call_as(CreateInstance)]
58 HRESULT RemoteCreateInstance(
59 [in] REFIID riid,
60 [out, iid_is(riid)] IUnknown **ppvObject);
62 [local]
63 HRESULT LockServer(
64 [in] BOOL fLock);
66 [call_as(LockServer)]
67 HRESULT RemoteLockServer(
68 [in] BOOL fLock);