add dummy IAMMediaStream and IMediaStream interfaces
This commit is contained in:
parent
b61cd1b22a
commit
8c965c56c0
6 changed files with 219 additions and 2 deletions
46
inc/IAMMediaStream.h
Normal file
46
inc/IAMMediaStream.h
Normal file
|
@ -0,0 +1,46 @@
|
|||
#ifndef IAMMEDIASTREAM_H
|
||||
#define IAMMEDIASTREAM_H
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
DEFINE_GUID(IID_IMediaStream, 0xb502d1bd, 0x9a57, 0x11d0, 0x8f, 0xde, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);
|
||||
DEFINE_GUID(IID_IAMMediaStream, 0xbebe595d, 0x9a6f, 0x11d0, 0x8f, 0xde, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);
|
||||
|
||||
extern struct IAMMediaStreamImplVtbl g_ms_vtbl;
|
||||
|
||||
struct IAMMediaStreamImpl;
|
||||
struct IAMMediaStreamImplVtbl;
|
||||
|
||||
typedef struct IAMMediaStreamImpl
|
||||
{
|
||||
struct IAMMediaStreamImplVtbl* lpVtbl;
|
||||
|
||||
ULONG ref;
|
||||
|
||||
} IAMMediaStreamImpl;
|
||||
|
||||
typedef struct IAMMediaStreamImplVtbl IAMMediaStreamImplVtbl;
|
||||
|
||||
struct IAMMediaStreamImplVtbl
|
||||
{
|
||||
HRESULT(__stdcall* QueryInterface) (IAMMediaStreamImpl*, const IID* const riid, LPVOID* ppvObj);
|
||||
ULONG(__stdcall* AddRef) (IAMMediaStreamImpl*);
|
||||
ULONG(__stdcall* Release) (IAMMediaStreamImpl*);
|
||||
// IMediaStream
|
||||
HRESULT(__stdcall* GetMultiMediaStream)(IAMMediaStreamImpl* This, int a);
|
||||
HRESULT(__stdcall* GetInformation)(IAMMediaStreamImpl* This, int a, int b);
|
||||
HRESULT(__stdcall* SetSameFormat)(IAMMediaStreamImpl* This, int a, int b);
|
||||
HRESULT(__stdcall* AllocateSample)(IAMMediaStreamImpl* This, int a, int b);
|
||||
HRESULT(__stdcall* CreateSharedSample)(IAMMediaStreamImpl* This, int a, int b, int c);
|
||||
HRESULT(__stdcall* SendEndOfStream)(IAMMediaStreamImpl* This, int a);
|
||||
// IAMMediaStream
|
||||
HRESULT(__stdcall* Initialize)(IAMMediaStreamImpl* This, int a, int b, int c, int d);
|
||||
HRESULT(__stdcall* SetState)(IAMMediaStreamImpl* This, int a);
|
||||
HRESULT(__stdcall* JoinAMMultiMediaStream)(IAMMediaStreamImpl* This, int a);
|
||||
HRESULT(__stdcall* JoinFilter)(IAMMediaStreamImpl* This, int a);
|
||||
HRESULT(__stdcall* JoinFilterGraph)(IAMMediaStreamImpl* This, int a);
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue