Share via


IRTCSubscriptionNotificationEvent::GetNotificationData (Windows Embedded CE 6.0)

1/6/2010

Gets the content and body from the incoming NOTIFY message.

Syntax

HRESULT GetNotificationData(
  BSTR* pbstrContentType,
  BSTR* pbstrMessageData
);

Parameters

  • pbstrContentType
    [out] Pointer to a BSTR that will be filled with the content type of the NOTIFY packet. The method is responsible for allocating the buffer. The caller is responsible for releasing this memory with SysFreeString.
  • pbstrMessageData
    [out] Pointer to a BSTR that will be filled with the body of the NOTIFY packet. The method is responsible for allocating the buffer. The caller is responsible for releasing this memory with SysFreeString.

Return Value

RTC methods may return an RTC_E_ constant. If the incoming NOTIFY message has no content type and message body associated with it, GetNotificationData returns RTC_E_NOT_EXIST.

Requirements

Header rtccore.idl
Library uuid.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

IRTCSubscriptionNotificationEvent