Share via


Windows Media Player 11 SDK IWMPFolderMonitorServices::add 

Windows Media Player SDK banner art

Previous Next

IWMPFolderMonitorServices::add

The add method adds a folder to the list of monitored folders.

Syntax

  HRESULT add(
  BSTR  bstrFolder
);

Parameters

bstrFolder

[in]  BSTR containing the path to the folder.

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