Share via


Windows Media Player 11 SDK IWMPFolderMonitorServices::itemĀ 

Windows Media Player SDK banner art

Previous Next

IWMPFolderMonitorServices::item

The item method retrieves the path to the folder corresponding to the specified index.

Syntax

  HRESULT item(
  long  lIndex,
  BSTR*  pbstrFolder
);

Parameters

lIndex

[in]  A long specifying the index of the folder to retrieve.

pbstrFolder

[out]  Pointer to a BSTR that receives the folder path string.

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

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version: Windows Media Player 11.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next