IPlaylistInfo::GetProperty Method

The GetProperty method gets the value of the requested property for this entry.

HRESULT
GetProperty(
    [in]          PLAYLIST_PROPERTY_TYPE propertyName,
    [out, retval] VARIANT                *pVariantValue
);

Arguments

propertyName

A requested property from the PLAYLIST_PROPERTY_TYPE Enumeration enumeration.

pVariantValue

The returned property value.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Notes for Implementers

Implementers of the IPlaylistInfo Interface interface must implement this method. Implementers of this method should return a value that represents the results of the request in pVariantValue.

Requirements

Header: playlistprovider.h

Library: playlistprovider.dll

Platform: Windows Server 2008 family