Windows Media Player 11 SDK IWMPContentContainer::GetContentID 

Windows Media Player SDK banner art

Previous Next

IWMPContentContainer::GetContentID

Note This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported.

The GetContentID method retrieves the ID of the media item at the specified index in the content container.

Syntax

  HRESULT GetContentID(
  ULONG  idxContent,
  ULONG*  pContentID
);

Parameters

idxContent

[in]  Specifies the zero-based index of the media item in the container..

pContentID

[out]  Pointer to a ULONG that receives the ID of the media item.

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.

Requirements

Version: Windows Media Player 11

Header: contentpartner.h

See Also

Previous Next