Windows Media Player 11 SDK IWMPFolderMonitorServices::startScan 

Windows Media Player SDK banner art

Previous Next

IWMPFolderMonitorServices::startScan

The startScan method starts a scanning operation.

Syntax

  HRESULT startScan();

Parameters

This method takes no parameters.

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

The startScan method should always be paired with a call to the stopScan method. You should never call the startScan method twice in a row. A scanning operation consists of two phases: scanning and updating. You can determine the current scan state by calling get_scanState or by handling the FolderScanStateChange event.

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