Microsoft DirectX 8.1 (C++) |
The put_Filter method specifies a source filter for the media detector to use.
Syntax
HRESULT put_Filter(
IUnknown *newVal
);
Parameters
newVal
[in] Pointer to the source filter's IUnknown interface.
Return Value
Returns an HRESULT value. Possible values include the following:
Value | Description |
S_OK | Success. |
E_NOINTERFACE | newVal does not point to a filter. |
E_POINTER | NULL pointer argument. |
Remarks
Instead of calling IMediaDet::put_Filename, an application can call this method with a pointer to a source filter's IUnknown interface. Do not use a filter already connected to the filter graph.
See Also