Windows Media Player 11 SDK IWMPCdromCollection::itemĀ 

Windows Media Player SDK banner art

Previous Next

IWMPCdromCollection::item

The item method retrieves a pointer to an IWMPCdrom interface at the given index.

Syntax

  

Parameters

lIndex

[in]  long containing the index.

ppItem

[out]  Pointer to a pointer to an IWMPCdrom interface.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

To use this method, read access to the library is required. For more information, see Library Access.

Windows Media Player 10 Mobile: This method always returns E_INVALIDARG.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next