Share via


IMLPushQueue::GetWatchList (Compact 7)

3/12/2014

This method returns the list of locations monitored by the push queue for possible updates to the Media Library.

Syntax

HRESULT GetWatchList (
  MLDataSource datasource,
  BSTR **prgWatchList
  ULONG *pcWatchList
);

Parameters

  • datasource
    [in] Member of the MLDataSourceId enumeration that specifies the type of data source.
  • prgWatchList
    [out] Pointer to the array of watched locations.
  • pcWatchList
    [out] Pointer to the number of locations in the prgWatchList array.

Return Values

Returns the HRESULT values shown in the following table.

Value Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_POINTER

The prgWatchList or the pcWatchList parameter is invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLPushQueue