summaryrefslogtreecommitdiffstats
path: root/loader/dshow/guids.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader/dshow/guids.h')
-rw-r--r--loader/dshow/guids.h32
1 files changed, 15 insertions, 17 deletions
diff --git a/loader/dshow/guids.h b/loader/dshow/guids.h
index f29c6a6e15..2d38d51f95 100644
--- a/loader/dshow/guids.h
+++ b/loader/dshow/guids.h
@@ -3,25 +3,22 @@
#include "com.h"
#include "wine/winbase.h"
-#include "wine/windef.h"
-#include "wine/winuser.h"
#include "wine/vfw.h"
extern int DSHOW_DEBUG;
#define Debug if(DSHOW_DEBUG)
-struct IUnknown;
typedef struct _MediaType
{
- GUID majortype; //0x0
- GUID subtype; //0x10
- int bFixedSizeSamples; //0x20
- int bTemporalCompression; //0x24
- unsigned long lSampleSize; //0x28
- GUID formattype; //0x2c
- IUnknown *pUnk; //0x3c
- unsigned long cbFormat; //0x40
- char *pbFormat; //0x44
+ GUID majortype; //0x0
+ GUID subtype; //0x10
+ int bFixedSizeSamples; //0x20
+ int bTemporalCompression; //0x24
+ unsigned long lSampleSize; //0x28
+ GUID formattype; //0x2c
+ IUnknown* pUnk; //0x3c
+ unsigned long cbFormat; //0x40
+ char *pbFormat; //0x44
} AM_MEDIA_TYPE;
typedef enum
@@ -32,10 +29,10 @@ typedef enum
typedef long long REFERENCE_TIME;
-struct RECT32
+typedef struct RECT32
{
int left, top, right, bottom;
-};
+} RECT32;
typedef struct tagVIDEOINFOHEADER {
@@ -55,15 +52,15 @@ typedef struct _AllocatorProperties
long cbPrefix;
} ALLOCATOR_PROPERTIES;
-struct IBaseFilter;
-
+typedef struct _IBaseFilter IBaseFilter;
typedef struct _PinInfo
{
- IBaseFilter *pFilter;
+ IBaseFilter* pFilter;
PIN_DIRECTION dir;
unsigned short achName[128];
} PIN_INFO;
+
extern GUID IID_IBaseFilter;
extern GUID IID_IEnumPins;
extern GUID IID_IEnumMediaTypes;
@@ -73,6 +70,7 @@ extern GUID IID_IMediaSample;
extern GUID IID_DivxHidden;
extern GUID IID_Iv50Hidden;
extern GUID CLSID_DivxDecompressorCF;
+extern GUID IID_IDivxFilterInterface;
extern GUID CLSID_IV50_Decoder;
extern GUID CLSID_MemoryAllocator;
extern GUID MEDIATYPE_Video;