Share via


IMLPushQueue::GetRunningState (Compact 7)

3/12/2014

This method returns the current state of the push queue.

Syntax

HRESULT GetRunningState (
  BOOL *pIsRunning
);

Parameters

  • pIsRunning
    [out] True if the push queue is currently monitoring locations for updates; otherwise false.

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 pIsRunning parameter is invalid.

E_FAIL

The method was not successful.

Remarks

When the contents of a monitored location are modified, the Media Library automatically adds the location to the push queue for update. This method indicates whether the push queue is currently monitoring locations for updates.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLPushQueue