/usr/include/wine/windows/comsvcs.idl is in libwine-dev 3.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | /*
* Copyright (C) 2017 Alistair Leslie-Hughes
*
* 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 "unknwn.idl";
import "objidl.idl";
import "oaidl.idl";
#ifndef __WIDL__
#define threading(model)
#endif
typedef DWORD_PTR INSTID;
typedef DWORD_PTR RESID;
typedef DWORD RESOURCERATING;
typedef DWORD_PTR RESTYPID;
typedef LPOLESTR SRESID;
typedef long TIMEINSECS;
typedef DWORD_PTR TRANSID;
[
uuid(2a005c00-a5de-11cf-9e66-00aa00a3f464),
version(1.0)
]
library COMSVCSLib
{
[
object,
hidden,
local,
uuid(bf6a1850-2b45-11cf-be10-00aa00a2fa25),
pointer_default(unique)
]
interface IHolder : IUnknown
{
HRESULT AllocResource([in] const RESTYPID typeid, [out] RESID *resid);
HRESULT FreeResource([in] const RESID _resid);
HRESULT TrackResource([in] const RESID resid);
HRESULT TrackResourceS([in] const SRESID resid);
HRESULT UntrackResource([in] const RESID resid, [in] const BOOL value);
HRESULT UntrackResourceS([in] const SRESID resid, [in] const BOOL value);
HRESULT Close(void);
HRESULT RequestDestroyResource([in] const RESID resid);
};
[
object,
hidden,
local,
uuid(208b3651-2b48-11cf-be10-00aa00a2fa25),
pointer_default(unique)
]
interface IDispenserDriver : IUnknown
{
HRESULT CreateResource([in] const RESTYPID restypid, [out] RESID *resid, [out] TIMEINSECS *destroy);
HRESULT RateResource([in] const RESTYPID restypid, [in] const RESID resid,
[in] const BOOL requires, [out] RESOURCERATING *rating);
HRESULT EnlistResource([in] const RESID resid, [in] const TRANSID transid);
HRESULT ResetResource([in] const RESID resid);
HRESULT DestroyResource([in] const RESID resid);
HRESULT DestroyResourceS([in] const SRESID resid);
};
[
object,
hidden,
local,
uuid(5cb31e10-2b5f-11cf-be10-00aa00a2fa25),
pointer_default(unique)
]
interface IDispenserManager : IUnknown
{
HRESULT RegisterDispenser([in] IDispenserDriver *driver, [in] LPCOLESTR name, [out] IHolder **dispenser);
HRESULT GetContext([out] INSTID *id, [out] TRANSID *transid);
};
[
uuid(ecabb0c0-7f19-11d2-978e-0000f8757e2a),
hidden,
threading(both)
]
coclass DispenserManager
{
[default] interface IDispenserManager;
};
}
|