dmime: Remove DECLSPEC_HIDDEN usage.
[wine.git] / include / asferr.h
blob5d60c9947f4688d82e998334d0849f0d06a97021
1 /*
2 * Copyright (C) 2020 Zebediah Figura for CodeWeavers
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 _ASFERR_H
20 #define _ASFERR_H
22 #ifdef RC_INVOKED
23 #define _ASF_HRESULT_TYPEDEF_(x) x
24 #else
25 #define _ASF_HRESULT_TYPEDEF_(x) ((HRESULT)x)
26 #endif
28 #define ASF_S_OPAQUEPACKET _ASF_HRESULT_TYPEDEF_(0x000d07f0)
30 #define ASF_E_BUFFEROVERRUN _ASF_HRESULT_TYPEDEF_(0xc00d07d0)
31 #define ASF_E_BUFFERTOOSMALL _ASF_HRESULT_TYPEDEF_(0xc00d07d1)
32 #define ASF_E_BADLANGUAGEID _ASF_HRESULT_TYPEDEF_(0xc00d07d2)
33 #define ASF_E_NOPAYLOADLENGTH _ASF_HRESULT_TYPEDEF_(0xc00d07db)
34 #define ASF_E_TOOMANYPAYLOADS _ASF_HRESULT_TYPEDEF_(0xc00d07dc)
35 #define ASF_E_PACKETCONTENTTOOLARGE _ASF_HRESULT_TYPEDEF_(0xc00d07de)
36 #define ASF_E_UNKNOWNPACKETSIZE _ASF_HRESULT_TYPEDEF_(0xc00d07e0)
37 #define ASF_E_INVALIDHEADER _ASF_HRESULT_TYPEDEF_(0xc00d07e2)
38 #define ASF_E_NOCLOCKOBJECT _ASF_HRESULT_TYPEDEF_(0xc00d07e6)
39 #define ASF_E_UNKNOWNCLOCKTYPE _ASF_HRESULT_TYPEDEF_(0xc00d07eb)
40 #define ASF_E_OPAQUEPACKET _ASF_HRESULT_TYPEDEF_(0xc00d07ed)
41 #define ASF_E_WRONGVERSION _ASF_HRESULT_TYPEDEF_(0xc00d07ee)
42 #define ASF_E_OVERFLOW _ASF_HRESULT_TYPEDEF_(0xc00d07ef)
43 #define ASF_E_NOTFOUND _ASF_HRESULT_TYPEDEF_(0xc00d07f0)
44 #define ASF_E_OBJECTTOOBIG _ASF_HRESULT_TYPEDEF_(0xc00d07f3)
45 #define ASF_E_UNEXPECTEDVALUE _ASF_HRESULT_TYPEDEF_(0xc00d07f4)
46 #define ASF_E_INVALIDSTATE _ASF_HRESULT_TYPEDEF_(0xc00d07f5)
47 #define ASF_E_NOLIBRARY _ASF_HRESULT_TYPEDEF_(0xc00d07f6)
48 #define ASF_E_ALREADYINITIALIZED _ASF_HRESULT_TYPEDEF_(0xc00d07f7)
49 #define ASF_E_INVALIDINIT _ASF_HRESULT_TYPEDEF_(0xc00d07f8)
50 #define ASF_E_NOHEADEROBJECT _ASF_HRESULT_TYPEDEF_(0xc00d07f9)
51 #define ASF_E_NODATAOBJECT _ASF_HRESULT_TYPEDEF_(0xc00d07fa)
52 #define ASF_E_NOINDEXOBJECT _ASF_HRESULT_TYPEDEF_(0xc00d07fb)
53 #define ASF_E_NOSTREAMPROPS _ASF_HRESULT_TYPEDEF_(0xc00d07fc)
54 #define ASF_E_NOFILEPROPS _ASF_HRESULT_TYPEDEF_(0xc00d07fd)
55 #define ASF_E_NOLANGUAGELIST _ASF_HRESULT_TYPEDEF_(0xc00d07fe)
56 #define ASF_E_NOINDEXPARAMETERS _ASF_HRESULT_TYPEDEF_(0xc00d07ff)
57 #define ASF_E_UNSUPPORTEDERRORCONCEALMENT _ASF_HRESULT_TYPEDEF_(0xc00d0800)
58 #define ASF_E_INVALIDFLAGS _ASF_HRESULT_TYPEDEF_(0xc00d0801)
59 #define ASF_E_BADDATADESCRIPTOR _ASF_HRESULT_TYPEDEF_(0xc00d0802)
60 #define ASF_E_BADINDEXINTERVAL _ASF_HRESULT_TYPEDEF_(0xc00d0803)
61 #define ASF_E_INVALIDTIME _ASF_HRESULT_TYPEDEF_(0xc00d0804)
62 #define ASF_E_INVALIDINDEX _ASF_HRESULT_TYPEDEF_(0xc00d0805)
63 #define ASF_E_STREAMNUMBERINUSE _ASF_HRESULT_TYPEDEF_(0xc00d0806)
64 #define ASF_E_BADMEDIATYPE _ASF_HRESULT_TYPEDEF_(0xc00d0807)
65 #define ASF_E_WRITEFAILED _ASF_HRESULT_TYPEDEF_(0xc00d0808)
66 #define ASF_E_NOTENOUGHDESCRIPTORS _ASF_HRESULT_TYPEDEF_(0xc00d0809)
67 #define ASF_E_INDEXBLOCKUNLOADED _ASF_HRESULT_TYPEDEF_(0xc00d080a)
68 #define ASF_E_NOTENOUGHBANDWIDTH _ASF_HRESULT_TYPEDEF_(0xc00d080b)
69 #define ASF_E_EXCEEDEDMAXIMUMOBJECTSIZE _ASF_HRESULT_TYPEDEF_(0xc00d080c)
70 #define ASF_E_BADDATAUNIT _ASF_HRESULT_TYPEDEF_(0xc00d080d)
71 #define ASF_E_HEADERSIZE _ASF_HRESULT_TYPEDEF_(0xc00d080e)
73 #endif