Microsoft DirectX 9.0 |
The GetCurrentOperationMode method retrieves the optimization features in effect.
Syntax
HRESULT GetCurrentOperationMode(
ULONG ulOutputStreamIndex,
DWORD *pdwEnabledFeatures
);
Parameters
ulOutputStreamIndex
Zero-based index of an output stream on the DMO.
pdwEnabledFeatures
Pointer to a variable that receives the current features. The returned value is a bitwise combination of zero or more flags from the DMO_VIDEO_OUTPUT_STREAM_FLAGS enumeration.
Return Value
Returns an HRESULT value. Possible values include those in the following table.
Return Code | Description |
DMO_E_INVALIDSTREAMINDEX | Invalid stream index |
E_POINTER | NULL pointer argument |
S_OK | Success |
See Also