ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

filesource.c File Reference
#include "quartz_private.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "pin.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include "winbase.h"
#include "winreg.h"
#include "shlwapi.h"
#include <assert.h>

Go to the source code of this file.

Data Structures

struct  AsyncReader
struct  DATAREQUEST
struct  FileAsyncReader

Defines

#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define DEF_ALIGNMENT   1

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (quartz)
static HRESULT FileAsyncReader_Construct (HANDLE hFile, IBaseFilter *pBaseFilter, LPCRITICAL_SECTION pCritSec, IPin **ppPin)
static AsyncReaderimpl_from_IFileSourceFilter (IFileSourceFilter *iface)
static HRESULT process_extensions (HKEY hkeyExtensions, LPCOLESTR pszFileName, GUID *majorType, GUID *minorType)
static unsigned char byte_from_hex_char (WCHAR wHex)
static HRESULT process_pattern_string (LPCWSTR wszPatternString, IAsyncReader *pReader)
static HRESULT GetClassMediaFile (IAsyncReader *pReader, LPCOLESTR pszFileName, GUID *majorType, GUID *minorType)
HRESULT AsyncReader_create (IUnknown *pUnkOuter, LPVOID *ppv)
static HRESULT WINAPI AsyncReader_QueryInterface (IBaseFilter *iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI AsyncReader_AddRef (IBaseFilter *iface)
static ULONG WINAPI AsyncReader_Release (IBaseFilter *iface)
static HRESULT WINAPI AsyncReader_GetClassID (IBaseFilter *iface, CLSID *pClsid)
static HRESULT WINAPI AsyncReader_Stop (IBaseFilter *iface)
static HRESULT WINAPI AsyncReader_Pause (IBaseFilter *iface)
static HRESULT WINAPI AsyncReader_Run (IBaseFilter *iface, REFERENCE_TIME tStart)
static HRESULT WINAPI AsyncReader_GetState (IBaseFilter *iface, DWORD dwMilliSecsTimeout, FILTER_STATE *pState)
static HRESULT WINAPI AsyncReader_SetSyncSource (IBaseFilter *iface, IReferenceClock *pClock)
static HRESULT WINAPI AsyncReader_GetSyncSource (IBaseFilter *iface, IReferenceClock **ppClock)
static HRESULT AsyncReader_GetPin (IBaseFilter *iface, ULONG pos, IPin **pin, DWORD *lastsynctick)
static HRESULT WINAPI AsyncReader_EnumPins (IBaseFilter *iface, IEnumPins **ppEnum)
static HRESULT WINAPI AsyncReader_FindPin (IBaseFilter *iface, LPCWSTR Id, IPin **ppPin)
static HRESULT WINAPI AsyncReader_QueryFilterInfo (IBaseFilter *iface, FILTER_INFO *pInfo)
static HRESULT WINAPI AsyncReader_JoinFilterGraph (IBaseFilter *iface, IFilterGraph *pGraph, LPCWSTR pName)
static HRESULT WINAPI AsyncReader_QueryVendorInfo (IBaseFilter *iface, LPWSTR *pVendorInfo)
static HRESULT WINAPI FileSource_QueryInterface (IFileSourceFilter *iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI FileSource_AddRef (IFileSourceFilter *iface)
static ULONG WINAPI FileSource_Release (IFileSourceFilter *iface)
static HRESULT WINAPI FileSource_Load (IFileSourceFilter *iface, LPCOLESTR pszFileName, const AM_MEDIA_TYPE *pmt)
static HRESULT WINAPI FileSource_GetCurFile (IFileSourceFilter *iface, LPOLESTR *ppszFileName, AM_MEDIA_TYPE *pmt)
static FileAsyncReaderimpl_from_IAsyncReader (IAsyncReader *iface)
static HRESULT AcceptProcAFR (LPVOID iface, const AM_MEDIA_TYPE *pmt)
static HRESULT WINAPI FileAsyncReaderPin_QueryInterface (IPin *iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI FileAsyncReaderPin_Release (IPin *iface)
static HRESULT WINAPI FileAsyncReaderPin_EnumMediaTypes (IPin *iface, IEnumMediaTypes **ppEnum)
static HRESULT FileAsyncReaderPin_ConnectSpecific (IPin *iface, IPin *pReceivePin, const AM_MEDIA_TYPE *pmt)
static HRESULT WINAPI FileAsyncReader_QueryInterface (IAsyncReader *iface, REFIID riid, LPVOID *ppv)
static ULONG WINAPI FileAsyncReader_AddRef (IAsyncReader *iface)
static ULONG WINAPI FileAsyncReader_Release (IAsyncReader *iface)
static HRESULT WINAPI FileAsyncReader_RequestAllocator (IAsyncReader *iface, IMemAllocator *pPreferred, ALLOCATOR_PROPERTIES *pProps, IMemAllocator **ppActual)
static HRESULT WINAPI FileAsyncReader_Request (IAsyncReader *iface, IMediaSample *pSample, DWORD_PTR dwUser)
static HRESULT WINAPI FileAsyncReader_WaitForNext (IAsyncReader *iface, DWORD dwTimeout, IMediaSample **ppSample, DWORD_PTR *pdwUser)
static HRESULT WINAPI FileAsyncReader_SyncRead (IAsyncReader *iface, LONGLONG llPosition, LONG lLength, BYTE *pBuffer)
static HRESULT WINAPI FileAsyncReader_SyncReadAligned (IAsyncReader *iface, IMediaSample *pSample)
static HRESULT WINAPI FileAsyncReader_Length (IAsyncReader *iface, LONGLONG *pTotal, LONGLONG *pAvailable)
static HRESULT WINAPI FileAsyncReader_BeginFlush (IAsyncReader *iface)
static HRESULT WINAPI FileAsyncReader_EndFlush (IAsyncReader *iface)

Variables

static const WCHAR wszOutputPinName [] = { 'O','u','t','p','u','t',0 }
static const IBaseFilterVtbl AsyncReader_Vtbl
static const IFileSourceFilterVtbl FileSource_Vtbl
static const IAsyncReaderVtbl FileAsyncReader_Vtbl
static WCHAR const mediatype_name [11]
static WCHAR const subtype_name [8]
static const IPinVtbl FileAsyncReaderPin_Vtbl

Generated on Fri May 25 2012 05:01:35 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.