9 #include "IPvDSSource.h" 14 public ISpecifyPropertyPages,
15 public CPersistStream,
17 public IAMDroppedFrames
22 static CUnknown * WINAPI
CreateInstance( LPUNKNOWN lpunk, HRESULT *phr );
25 IFilterGraph *GetGraph()
33 STDMETHODIMP
GetPages( CAUUID *pPages );
36 STDMETHODIMP GetNumDropped(
long *plDropped );
37 STDMETHODIMP GetNumNotDropped(
long *plNotDropped );
38 STDMETHODIMP GetDroppedInfo(
long lSize,
long *plArray,
long *plNumCopied );
39 STDMETHODIMP GetAverageFrameSize(
long *plAverageSize);
47 STDMETHODIMP get_Role(
int *role );
48 STDMETHODIMP put_Role(
int role );
49 STDMETHODIMP get_UnicastPort(
int *port );
50 STDMETHODIMP put_UnicastPort(
int port );
51 STDMETHODIMP get_MulticastIP( BSTR *ip );
52 STDMETHODIMP put_MulticastIP( BSTR ip );
53 STDMETHODIMP get_MulticastPort(
int *port );
54 STDMETHODIMP put_MulticastPort(
int port );
57 STDMETHODIMP get_DiagnosticEnabled( BOOL *enabled );
58 STDMETHODIMP put_DiagnosticEnabled( BOOL enabled );
61 STDMETHODIMP get_DeviceID( BSTR *deviceid );
62 STDMETHODIMP put_DeviceID( BSTR deviceid );
63 STDMETHODIMP DisconnectDevice();
64 STDMETHODIMP ConnectIfNeeded();
65 STDMETHODIMP ConnectIfNeededEx (
void * );
68 STDMETHODIMP get_SourceCount(
int *sourcecount );
69 STDMETHODIMP get_SourceName(
int aIndex, BSTR *sourcename );
70 STDMETHODIMP get_Source( BSTR *source );
71 STDMETHODIMP put_Source( BSTR source );
72 STDMETHODIMP get_Channel(
int *channel );
73 STDMETHODIMP put_Channel(
int channel );
76 STDMETHODIMP get_BufferCount(
int *count );
77 STDMETHODIMP put_BufferCount(
int count );
78 STDMETHODIMP get_DefaultBufferSize(
int *size );
79 STDMETHODIMP put_DefaultBufferSize(
int size );
80 STDMETHODIMP get_DropThreshold(
int *threshold );
81 STDMETHODIMP put_DropThreshold(
int threshold );
82 STDMETHODIMP get_Width(
int *width );
83 STDMETHODIMP put_Width(
int width );
84 STDMETHODIMP get_Height(
int *height );
85 STDMETHODIMP put_Height(
int height );
88 STDMETHODIMP get_ParametersSelector(
int *selector );
89 STDMETHODIMP put_ParametersSelector(
int selector );
90 STDMETHODIMP get_ParametersAvailable( BOOL *available );
91 STDMETHODIMP get_ParameterCount(
int *count );
92 STDMETHODIMP get_ParameterName(
int index, BSTR *name );
93 STDMETHODIMP get_ParameterCategory( BSTR name, BSTR *category );
94 STDMETHODIMP get_ParameterValue( BSTR name, BSTR *value );
95 STDMETHODIMP put_ParameterValue( BSTR name, BSTR value, BSTR *message );
96 STDMETHODIMP get_ParameterType ( BSTR name, BSTR *type );
97 STDMETHODIMP get_ParameterAccess( BSTR name, BOOL *available, BOOL *readable, BOOL *writable );
98 STDMETHODIMP ParameterExecute( BSTR name, BSTR *message );
99 STDMETHODIMP get_ParameterPossibleValueCount( BSTR name,
int *count );
100 STDMETHODIMP get_ParameterPossibleValue( BSTR name,
int index, BSTR *value );
101 STDMETHODIMP get_ParameterVisibility( BSTR name,
int *visibility );
103 STDMETHODIMP get_OutputPixelType(
int *OutputPixelType );
104 STDMETHODIMP put_OutputPixelType(
int OutputPixelType );
106 STDMETHODIMP get_KernelSize(
int *KernelSize );
107 STDMETHODIMP put_KernelSize(
int KernelSize );
109 STDMETHODIMP get_ZoomValue(
int *ZoomValue );
110 STDMETHODIMP put_ZoomValue(
int ZoomValue );
112 STDMETHODIMP get_OutputResolution(
int *Width,
int *Height );
113 STDMETHODIMP put_OutputResolution(
int Width,
int Height );
115 STDMETHODIMP MakeDefault();
116 STDMETHODIMP ResetDefault();
117 STDMETHODIMP get_DefaultSummary( BSTR *summary );
HRESULT WriteToStream(IStream *pStream)
IPersist, overriden to write our state into a stream.
Definition: PvDSSource.cpp:130
STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, void **ppv)
Reveals control interface and property pages interface.
Definition: PvDSSource.cpp:39
static CUnknown *WINAPI CreateInstance(LPUNKNOWN lpunk, HRESULT *phr)
CreateInstance.
Definition: PvDSSource.cpp:28
STDMETHODIMP GetPages(CAUUID *pPages)
Returns the clsid's of the property pages we support.
Definition: PvDSSource.cpp:104
HRESULT ReadFromStream(IStream *pStream)
IPersist, likewise overriden to restore our state from a stream.
Definition: PvDSSource.cpp:152
COM interface to the eBUS SDK DirectShow Source filter, PvDSSource.
Definition: IPvDSSource.cpp:102
Definition: PvDSSource.h:12
int SizeMax()
Maximum size of stream data.
Definition: PvDSSource.cpp:176
STDMETHODIMP GetClassID(CLSID *pClsid)
Class ID.
Definition: PvDSSource.cpp:86