IPictureMixer2::GetItemPos2

From MediaLooks Knowledge Base
Jump to: navigation, search

The GetItemPos2 method of the IPictureMixer2 interface is used to retrieve the item position.

Contents

Syntax

HRESULT GetItemPos2(
            [in] int _nCookie,
            [out] int* _pnPosX,
            [out] int* _pnPosY
);

Parameters

NameDescription
_nCookie[in] Cookie of the item.
_pnPosX[out] Points to X coordinate of the item position.
_pnPosY[out] Points to Y coordinate of the item position.


Return Values

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


Remarks

None.

Personal tools