IPictureMixer2::GetItemMovement

From MediaLooks Knowledge Base
Jump to: navigation, search

The GetItemMovement method of the IPictureMixer2 interface is used to retrieve properties for the movement of the item.

Contents

Syntax

HRESULT GetItemMovement(
            [in] int _nCookie,
            [out] double* _pdblXDelta,
            [out] double* _pdblYDelta,
            [out] BOOL _pbNoOffScreen
);

Parameters

NameDescription
_nCookie[in] Cookie of the item.
_pdblXDelta[out] Points to the X component of the movement.
_pdblYDelta[out] Points to the Y component of the movement.
_pbNoOffScreen[out] Points to the flag, which specifies what happens when the item moves outside the screen. For details see description of the OVERLAY_PROPS structure.


Return Values

Return code Description
S_OK Success.
E_OUTOFMEMORY Insufficient memory.
E_POINTER Null pointer argument.


Remarks

None.

Personal tools