Share via


Windows Media Player 11 SDK IWMPFolderMonitorServices Interface 

Windows Media Player SDK banner art

Previous Next

IWMPFolderMonitorServices Interface

The IWMPFolderMonitorServices interface provides methods to enumerate, scan, and modify file folders that Windows Media Player monitors for digital media content.

To use this interface, you must create a remoted instance of the Windows Media Player 11 control. For more information about remoting, see Remoting the Windows Media Player Control.

In addition to the methods inherited from IUnknown, the IWMPFolderMonitorServices interface exposes the following methods.

Method Description
add Adds a folder to the list of monitored folders.
get_addedFilesCount Retrieves the count of files added to the library during the current scanning operation.
get_count Retrieves the count of monitored folders.
get_currentFolder Retrieves the path of the folder currently being scanned.
get_scannedFilesCount Retrieves the count of files inspected during the current scanning operation.
get_scanState Retrieves the scan state for the current scanning operation.
get_updateProgress Retrieves the update progress as percent complete.
item Retrieves the path of the folder corresponding to the specified index.
remove Removes a folder from the list of monitored folders.
startScan Starts a scanning operation.
stopScan Stops the scanning operation.

Retrieve a pointer to IWMPFolderMonitorServices by calling QueryInterface through IWMPPlayer.

See Also

Previous Next