msi: Correctly parse double quotes in the token value.
[wine/multimedia.git] / include / errrec.idl
blob865b3f2b463df2f8466ac7ac8390520be4d9b70e
1 /*
2 * Copyright (C) 2013 Alistair Leslie-Hughes
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
20 object,
21 uuid(0c733a67-2a1c-11ce-ade5-00aa0044773d),
22 pointer_default(unique)
24 interface IErrorRecords : IUnknown
27 cpp_quote("#define IDENTIFIER_SDK_MASK 0xF0000000")
28 cpp_quote("#define IDENTIFIER_SDK_ERROR 0x10000000")
30 typedef struct tagERRORINFO
32 HRESULT hrError;
33 DWORD dwMinor;
34 CLSID clsid;
35 IID iid;
36 DISPID dispid;
37 } ERRORINFO;
39 [local]
40 HRESULT AddErrorRecord([in] ERRORINFO * pErrorInfo, [in] DWORD dwLookupID, [in] DISPPARAMS * pdispparams,
41 [in] IUnknown * punkCustomError, [in] DWORD dwDynamicErrorID);
43 [call_as(AddErrorRecord)]
44 HRESULT RemoteAddErrorRecord([in] ERRORINFO * pErrorInfo, [in] DWORD dwLookupID, [in] DISPPARAMS * pdispparams,
45 [in] IUnknown * punkCustomError, [in] DWORD dwDynamicErrorID, [out] IErrorInfo ** ppErrorInfoRem);
47 [local]
48 HRESULT GetBasicErrorInfo([in] ULONG ulRecordNum, [out] ERRORINFO * pErrorInfo);
50 [call_as(GetBasicErrorInfo)]
51 HRESULT RemoteGetBasicErrorInfo([in] ULONG ulRecordNum, [out] ERRORINFO * pErrorInfo, [out] IErrorInfo **ppErrorInfoRem);
53 [local]
54 HRESULT GetCustomErrorObject([in] ULONG ulRecordNum, [in] REFIID riid, [out] IUnknown ** ppObject);
56 [call_as(GetCustomErrorObject)]
57 HRESULT RemoteGetCustomErrorObject([in] ULONG ulRecordNum, [in] REFIID riid, [out] IUnknown ** ppObject,
58 [out] IErrorInfo **ppErrorInfoRem);
60 [local]
61 HRESULT GetErrorInfo([in] ULONG ulRecordNum, [in] LCID lcid, [out] IErrorInfo **ppErrorInfo);
63 [call_as(GetErrorInfo)]
64 HRESULT RemoteGetErrorInfo([in] ULONG ulRecordNum, [in] LCID lcid, [out] IErrorInfo **ppErrorInfo,
65 [out] IErrorInfo **ppErrorInfoRem);
67 [local]
68 HRESULT GetErrorParameters([in] ULONG ulRecordNum, [out] DISPPARAMS * pdispparams);
70 [call_as(GetErrorParameters)]
71 HRESULT RemoteGetErrorParameters([in] ULONG ulRecordNum, [out] DISPPARAMS * pdispparams, [out] IErrorInfo ** ppErrorInfoRem);
73 [local]
74 HRESULT GetRecordCount([out] ULONG *records);
76 [call_as(GetRecordCount)]
77 HRESULT RemoteGetRecordCount([out] ULONG * pcRecords, [out] IErrorInfo **ppErrorInfoRem);