Share via


IMLDSPlugin::GetWatchListCount (Compact 7)

3/12/2014

This method returns the number of locations currently monitored by the data source plug-in.

Syntax

HRESULT GetWatchListCount (
  int  datasourceId,
  ULONG  *pcWatchList
);

Parameters

  • datasourceId
    [in] Enumeration MLDataSourceId that identifies the data source.
  • pcWatchList
    [out] Pointer to the count of watched folders.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_POINTER

The pcWatchList parameter is invalid.

E_FAIL

The method was not successful.

E_OUTOFMEMORY

An out of memory error occurred.

Remarks

The plug-in manager calls this method when the application calls IMLPushQueue::GetWatchListCount to retrieve the number of monitored locations.

Requirements

Header

mlibdll_plugin.h,
mlibdll_plugin.idl

Library

mlibdll.lib

See Also

Reference

IMLDSPlugin