Share via


Windows Media Player 11 SDK IWMPFolderMonitorServices::get_addedFilesCount 

Windows Media Player SDK banner art

Previous Next

IWMPFolderMonitorServices::get_addedFilesCount

The get_addedFilesCount method retrieves the count of files added to the library during the current scanning operation.

Syntax

  HRESULT get_addedFilesCount(
  long*  plCount
);

Parameters

plCount

[out]  Pointer to a long that receives the file count.

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

A scanning operation consists of two phases: scanning and updating. The count of files added changes during the updating phase. 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