IPictureMixer2::SetItemMovement
From MediaLooks Knowledge Base
The SetItemMovement method of the IPictureMixer2 interface is used to set properties for the movement of the item.
Contents |
Syntax
HRESULT SetItemMovement( [in] int _nCookie, [in] double _dblXDelta, [in] double _dblYDelta, [in] BOOL _bNoOffScreen );
Parameters
| Name | Description | |
| _nCookie | [in] Cookie of the item. | |
| _dblXDelta | [in] Represents the X component of the movement, affects the speed. | |
| _dblYDelta | [in] Represents the Y component of the movement, affects the speed. | |
| _bNoOffScreen | [in] 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.