user32: Remove some misleading TODOs.
[wine.git] / dlls / avifil32 / avifile_private.h
blob83e87ea989dd19837af3f84ec8e107d05289d087
1 /*
2 * Copyright 2002 Michael Günnewig
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 __AVIFILE_PRIVATE_H
20 #define __AVIFILE_PRIVATE_H
22 #include <windef.h>
23 #include <winuser.h>
25 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
27 #ifndef MAX_AVISTREAMS
28 #define MAX_AVISTREAMS 8
29 #endif
31 #ifndef DIBWIDTHBYTES
32 #define WIDTHBYTES(i) (((i+31)&(~31))/8)
33 #define DIBWIDTHBYTES(bi) WIDTHBYTES((bi).biWidth * (bi).biBitCount)
34 #endif
36 #ifndef DIBPTR
37 #define DIBPTR(lp) ((LPBYTE)(lp) + (lp)->biSize + \
38 (lp)->biClrUsed * sizeof(RGBQUAD))
39 #endif
41 #define IDD_SAVEOPTIONS 0x0100
42 #define IDC_INTERLEAVE 0x0110
43 #define IDC_INTERLEAVEEVERY 0x0111
44 #define IDC_STREAM 0x0112
45 #define IDC_OPTIONS 0x0113
46 #define IDC_FORMATTEXT 0x0114
48 #define IDS_WAVESTREAMFORMAT 0x0100
49 #define IDS_WAVEFILETYPE 0x0101
50 #define IDS_ALLMULTIMEDIA 0x0184
51 #define IDS_ALLFILES 0x0185
52 #define IDS_VIDEO 0x0189
53 #define IDS_AUDIO 0x0190
54 #define IDS_AVIFILETYPE 0x0192
55 #define IDS_UNCOMPRESSED 0x0193
57 DEFINE_AVIGUID(CLSID_ICMStream, 0x00020001, 0, 0);
58 DEFINE_AVIGUID(CLSID_WAVFile, 0x00020003, 0, 0);
59 DEFINE_AVIGUID(CLSID_ACMStream, 0x0002000F, 0, 0);
61 extern HMODULE AVIFILE_hModule DECLSPEC_HIDDEN;
63 extern HRESULT AVIFILE_CreateAVIFile(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
64 extern HRESULT AVIFILE_CreateWAVFile(IUnknown *outer_unk, REFIID riid, void **ret_iface) DECLSPEC_HIDDEN;
65 extern HRESULT AVIFILE_CreateACMStream(REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
66 extern HRESULT AVIFILE_CreateICMStream(REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
67 extern PGETFRAME AVIFILE_CreateGetFrame(PAVISTREAM pstream) DECLSPEC_HIDDEN;
68 extern PAVIFILE AVIFILE_CreateAVITempFile(int nStreams, const PAVISTREAM *ppStreams) DECLSPEC_HIDDEN;
70 extern LPCWSTR AVIFILE_BasenameW(LPCWSTR szFileName) DECLSPEC_HIDDEN;
71 extern HRESULT WINAPI avifil32_DllGetClassObject(REFCLSID pclsid, REFIID piid, LPVOID *ppv) DECLSPEC_HIDDEN;
73 #endif