IWMCNotify::Notify

banner art

This functionality is expected to be available in Windows Media Player for the next version of Microsoft Windows. At that time, this SDK will be deprecated.

The Notify method notifies you when a Windows Media Connect Content Directory Service event is raised.

Syntax

HRESULT Notify(
  EventReason  Reason,
  BSTR  ID,
  VARIANT*  Data
);

Parameters

Reason

[in]  Member value of the EventReason enumeration that you want to monitor.

ID

[in]  BSTR that uniquely identifies the event.

Data

[in]  Pointer to a VARIANT that contains data associated with the event.

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

None.

Requirements

Library: wmcsci.dll.

Platform: Windows XP Home Edition Service Pack 2 (SP2), Windows XP Professional SP2, Windows XP Media Center Edition SP2, or Windows XP Tablet PC Edition SP2.

See Also