Mark immutable objects as const. Fix inconsistent *-style.
[wine/multimedia.git] / include / mediaobj.h
blob58ec373fd54abe40bc7709b5d4c78bb2e8285c10
1 /*
2 * Copyright (C) 2002 Alexandre Julliard
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE__
20 #include "rpc.h"
21 #include "rpcndr.h"
22 #ifndef COM_NO_WINDOWS_H
23 #include "windows.h"
24 #include "ole2.h"
25 #endif
26 #endif
28 #ifndef __mediaobj_h__
29 #define __mediaobj_h__
31 typedef struct IDMOQualityControl IDMOQualityControl;
32 typedef struct IDMOVideoOutputOptimizations IDMOVideoOutputOptimizations;
33 typedef struct IEnumDMO IEnumDMO;
34 typedef struct IMediaBuffer IMediaBuffer;
35 typedef struct IMediaObject IMediaObject;
36 typedef struct IMediaObjectInPlace IMediaObjectInPlace;
38 #include "unknwn.h"
39 #include "objidl.h"
41 typedef struct _DMOMediaType
43 GUID majortype;
44 GUID subtype;
45 BOOL bFixedSizeSamples;
46 BOOL bTemporalCompression;
47 ULONG lSampleSize;
48 GUID formattype;
49 IUnknown *pUnk;
50 ULONG cbFormat;
51 BYTE *pbFormat;
52 } DMO_MEDIA_TYPE;
54 #endif /* __mediaobj_h__ */