IMLPushQueue::GetWatchListCount (Compact 7)
3/12/2014
This method returns the number of entries in the list of locations monitored by the push queue.
Syntax
HRESULT GetWatchListCount (
MLDataSource datasource,
ULONG *pcWatchList
);
Parameters
- datasource
[in] Member of the MLDataSourceId enumeration that specifies the type of data source.
- pcWatchList
[out] Pointer to the number of locations that are in the watch list.
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 pcWatchList parameter is invalid. |
E_FAIL |
The method was not successful. |
E_MEMORY |
An out of memory error occurred. |
Requirements
Header |
mlibdll.h, |
Library |
mlibdll.lib |