PushRouter_GetMessage

Send Feedback

This function passes the message to the push router client.

HRESULT PushRouter_GetMessage(
  HPUSHROUTER hPushRouter,
  LPPUSHMSG pPushMsg
);

Parameters

  • hPushRouter
    [in] Handle to the push router.
  • pPushMsg
    [out] Pointer to a PUSHMSG structure representing the message provided by the push router.

Return Values

Returns S_OK if successful. If the function is unsuccessful, it can return a standard Windows HRESULT value or one of the push router-specific HRESULT values shown in the following table.

Value Description
PUSHRTR_E_EXCEPTION An exception occurred in the push router function.
PUSHRTR_S_NOMESSAGEPENDING No messages are pending in the client queue.

Requirements

Pocket PC: Windows Mobile 2003 and later
Smartphone: Windows Mobile 2003 and later
OS Versions: Windows CE .NET 4.2 and later
Header: Pushclient.h.
Library: Pushprxy.lib.

See Also

PushRouter_FreeMessage | PUSHMSG

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.