Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This method retrieves the optimizations 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 optimizations. The returned value is a bitwise combination of zero or more flags from the DMO_VIDEO_OUTPUT_STREAM_FLAGSenumeration.
Return Value
Returns an HRESULTvalue. Possible values include the following.
Value | Description |
---|---|
S_OK |
Success |
Invalid stream index |
|
E_POINTER |
NULL pointer argument |
Requirements
Header | dmo.h |
Library | Dmoguid.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |