IPictureMixer2::GetItemMovement
From MediaLooks Knowledge Base
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
| Name | Description | |
| _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.