ReactOS 0.4.15-dev-8116-gf69e256
quartz_private.h
Go to the documentation of this file.
1/* DirectShow private interfaces (QUARTZ.DLL)
2 *
3 * Copyright 2002 Lionel Ulmer
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20#ifndef __QUARTZ_PRIVATE_INCLUDED__
21#define __QUARTZ_PRIVATE_INCLUDED__
22
23#include <stdarg.h>
24
25#define COBJMACROS
26
27#include "windef.h"
28#include "winbase.h"
29#include "wtypes.h"
30#include "wingdi.h"
31#include "winuser.h"
32#include "dshow.h"
33#include "wine/strmbase.h"
34#include "wine/list.h"
35
36/* see IAsyncReader::Request on MSDN for the explanation of this */
37#define MEDIATIME_FROM_BYTES(x) ((LONGLONG)(x) * 10000000)
38#define SEC_FROM_MEDIATIME(time) ((time) / 10000000)
39#define BYTES_FROM_MEDIATIME(time) SEC_FROM_MEDIATIME(time)
40#define MSEC_FROM_MEDIATIME(time) ((time) / 10000)
41
60
61HRESULT EnumMonikerImpl_Create(IMoniker ** ppMoniker, ULONG nMonikerCount, IEnumMoniker ** ppEnum) DECLSPEC_HIDDEN;
62
64HRESULT IEnumFiltersImpl_Construct(IGraphVersion * pVersionSource, IBaseFilter *** pppFilters, ULONG * pNumFilters, IEnumFilters ** ppEnum) DECLSPEC_HIDDEN;
65
66extern const char * qzdebugstr_guid(const GUID * id) DECLSPEC_HIDDEN;
68
69BOOL CompareMediaTypes(const AM_MEDIA_TYPE * pmt1, const AM_MEDIA_TYPE * pmt2, BOOL bWildcards);
71
72HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID * majorType, GUID * minorType, GUID * sourceFilter);
73
74#endif /* __QUARTZ_PRIVATE_INCLUDED__ */
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
unsigned int BOOL
Definition: ntddk_ex.h:94
GLsizeiptr size
Definition: glext.h:5919
REFIID LPVOID * ppv
Definition: atlbase.h:39
HRESULT FilterMapper2_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN
HRESULT DSoundRender_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: dsoundrender.c:618
HRESULT AVISplitter_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: avisplit.c:1430
void video_unregister_windowclass(void) DECLSPEC_HIDDEN
BOOL CompareMediaTypes(const AM_MEDIA_TYPE *pmt1, const AM_MEDIA_TYPE *pmt2, BOOL bWildcards)
HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN
Definition: filtergraph.c:5689
HRESULT VMR9Impl_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: vmr9.c:2451
HRESULT IEnumFiltersImpl_Construct(IGraphVersion *pVersionSource, IBaseFilter ***pppFilters, ULONG *pNumFilters, IEnumFilters **ppEnum) DECLSPEC_HIDDEN
Definition: enumfilters.c:45
HRESULT GetClassMediaFile(IAsyncReader *pReader, LPCOLESTR pszFileName, GUID *majorType, GUID *minorType, GUID *sourceFilter)
Definition: filesource.c:257
HRESULT AVIDec_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: avidec.c:395
HRESULT FilterMapper_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN
HRESULT WAVEParser_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: waveparser.c:419
HRESULT MPEGSplitter_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: mpegsplit.c:871
HRESULT ACMWrapper_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: acmwrapper.c:380
HRESULT VideoRenderer_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
HRESULT StdMemAllocator_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
const char * qzdebugstr_guid(const GUID *id) DECLSPEC_HIDDEN
Definition: main.c:279
HRESULT EnumMonikerImpl_Create(IMoniker **ppMoniker, ULONG nMonikerCount, IEnumMoniker **ppEnum) DECLSPEC_HIDDEN
Definition: enummoniker.c:47
HRESULT FilterGraphNoThread_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN
Definition: filtergraph.c:5766
void dump_AM_MEDIA_TYPE(const AM_MEDIA_TYPE *pmt) DECLSPEC_HIDDEN
Definition: enummedia.c:38
HRESULT AsyncReader_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: filesource.c:420
HRESULT NullRenderer_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
HRESULT QUARTZ_CreateSystemClock(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: systemclock.c:377
HRESULT IEnumRegFiltersImpl_Construct(REGFILTER *pInRegFilters, const ULONG size, IEnumRegFilters **ppEnum) DECLSPEC_HIDDEN
HRESULT VideoRendererDefault_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
HRESULT VMR7Impl_create(IUnknown *pUnkOuter, LPVOID *ppv) DECLSPEC_HIDDEN
Definition: vmr9.c:2446
uint32_t ULONG
Definition: typedefs.h:59
WORD WORD PSZ PSZ pszFileName
Definition: vdmdbg.h:44