Compartir a través de


IWMPFolderMonitorServices interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMPFolderMonitorServices interface is deprecated.

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.

Inheritance

The IWMPFolderMonitorServices interface inherits from the IUnknown interface. IWMPFolderMonitorServices also has these types of members:

Methods

The IWMPFolderMonitorServices interface has these methods.

 
IWMPFolderMonitorServices::add

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The add method adds a folder to the list of monitored folders.
IWMPFolderMonitorServices::get_addedFilesCount

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_addedFilesCount method retrieves the count of files added to the library during the current scanning operation.
IWMPFolderMonitorServices::get_count

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_count method retrieves the count of monitored folders.
IWMPFolderMonitorServices::get_currentFolder

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_currentFolder method retrieves the path of the folder currently being scanned.
IWMPFolderMonitorServices::get_scannedFilesCount

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_scannedFilesCount method retrieves the count of files inspected during the current scanning operation.
IWMPFolderMonitorServices::get_scanState

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_scanState method retrieves the scan state for the current scanning operation.
IWMPFolderMonitorServices::get_updateProgress

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The get_updateProgress method retrieves the update progress as percent complete.
IWMPFolderMonitorServices::item

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The item method retrieves the path to the folder corresponding to the specified index.
IWMPFolderMonitorServices::remove

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The remove method removes a folder from the list of monitored folders.
IWMPFolderMonitorServices::startScan

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The startScan method starts a scanning operation.
IWMPFolderMonitorServices::stopScan

This method and all other methods of the IWMPFolderMonitorServices interface are deprecated.The stopScan method stops the scanning operation.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

IWMPPlayer Interface

Interfaces