Partager via


PushRouter_Close

4/8/2010

This function closes the communication channel between the push router client and the push router.

Syntax

HRESULT PushRouter_Close(
  HPUSHROUTER hPushRouter
);

Parameters

  • hPushRouter
    [in] Handle to the push router.

Return Value

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.

Requirements

Header pushclient.h
Library Pushprxy.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later

See Also

Reference

PushRouter_Open