Windows Media Player 11 SDK IWMPContentPartnerCallback::GetContentIDsInLibrary
Previous | Next |
IWMPContentPartnerCallback::GetContentIDsInLibrary
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 GetContentIDsInLibrary method retrieves an array of content IDs that represent the music tracks in the library.
Syntax
HRESULT GetContentIDsInLibrary( ULONG *pcContentIDs, ULONG **pprgIDs );
Parameters
pcContentIDs
[out] Receives the number of elements in the pprgIDs array.
pprgIDs
[out] Receives a pointer to an array of content IDs.
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
This method allocates an array of ULONGs, fills the array with content IDs, and returns the address of the array in the output parameter pprgIDs. When the caller is finished with the array, it must free the array by calling CoTaskMemFree.
Requirements
Version: Windows Media Player 11
Header: contentpartner.h
See Also
Previous | Next |