Microsoft DirectX 9.0 |
The SetOverlayFX method applies the specified effects to the overlay surface.
Syntax
HRESULT SetOverlayFX(
DWORD dwOverlayFX
);
Parameters
dwOverlayFX
[in] Value specifying which effects to apply. The value must be a logical combination of flags from the AMOVERLAYFX enumeration, or the method returns E_INVALIDARG.
Return Values
Returns an HRESULT value that depends on the implementation of the interface. The DirectShow implementation may return one of the following values, or others not listed.
Return code | Description |
E_FAIL | Failure. |
E_INVALIDARG | Invalid argument. |
S_OK | Success. |
Remarks
The application must call this method while the filter graph is running. The effects are applied immediately.
See Also