CDeferredCommand.GetFlags method

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The GetFlags method retrieves the context flags associated with the deferred command.

Syntax

short GetFlags();

Parameters

This method has no parameters.

Return value

Returns one of the following:

Return code Description
DISPATCH_METHOD
Run the member as a method. If a property has the same name, both this and the DISPATCH_PROPERTYGET flag can be set.
DISPATCH_PROPERTYGET
The member is being retrieved as a property or data member.
DISPATCH_PROPERTYPUT
The member is being changed as a property or data member.
DISPATCH_PROPERTYPUTREF
The member is being changed via a reference assignment, rather than a value assignment. This flag is valid only when the property accepts a reference to an object.

Requirements

Requirement Value
Header
Ctlutil.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CDeferredCommand Class