IDMOVideoOutputOptimizations::QueryOperationModePreferences (Compact 2013)
3/26/2014
This method retrieves the DMO's preferred optimizations.
Syntax
HRESULT QueryOperationModePreferences(
ULONG ulOutputStreamIndex,
DWORD* pdwRequestedCapabilities
);
Parameters
- ulOutputStreamIndex
Zero-based index of an output stream on the DMO.
- pdwRequestedCapabilities
Pointer to a variable that receives the DMO's requested optimizations. 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 the following.
Value |
Description |
---|---|
S_OK |
Success |
Invalid stream index |
|
E_POINTER |
NULL pointer value |
Requirements
Header |
dmo.h |
Library |
Dmoguid.lib |