WMPFolderScanState enumeration (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 WMPFolderScanState enumeration type defines the possible operational states of Windows Media Player as it monitors file folders for digital media content.
Syntax
typedef enum WMPFolderScanState {
wmpfssUnknown = 0,
wmpfssScanning,
wmpfssUpdating,
wmpfssStopped
} ;
Constants
wmpfssUnknown Value: 0 Not a valid state. |
wmpfssScanning Scanning folders. |
wmpfssUpdating Updating the library. |
wmpfssStopped Folder monitoring is stopped. |
Remarks
A scanning operation consists of two phases: scanning and updating. During the first phase, Windows Media Player determines which digital media files to add to the library. During the second phase, the Player adds the files. You can determine the current scan state by calling IWMPFolderMonitorServices::get_scanState or by handling the FolderScanStateChange event.
Windows Media Player 10 Mobile: This enumeration is not supported.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Media Player 11. |
Header | wmp.h |