IPictureMixer2::GetItemInfo2

From MediaLooks Knowledge Base
Jump to: navigation, search

The GetItemInfo2 method of the IPictureMixer2 interface is used to get the cookie, name and type for an item at a zero-based index.

Contents

Syntax

HRESULT GetItemInfo2(
            [in] int _nIndex,
            [out] int* _pnCookie,
            [out] BSTR* _pbsName,
            [out] ITEM_TYPE* _pItemType
);

Parameters

NameDescription
_nIndex[in] Zero-based index of the item to retrieve information about.
_pnCookie[out] Item cookie.
_pbsName[out] Item name.
_pItemType[out] Item type. For details see description of the ITEM_TYPE enumeration.


Return Values

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


Remarks

None.

Personal tools