Share via


ReleaseConnection (Compact 2013)

3/26/2014

This function releases an open connection after upload.

Syntax

VOID ReleaseConnection(
  HANDLE phConnection,
  LPWSTR pszProxy
);

Parameters

  • phConnection
    [in] Handle to the connection.

    This value should be the same as the value returned by OpenConnection.

  • pszProxy
    [in] Name and port of the proxy server.

    This value should be the same as the value returned by OpenConnection.

Return Value

The following table shows return values for this function.

Value

Description

S_OK

Function successful.

E_FAIL

Unspecified failure.

Remarks

This function must be available in the DwConn.lib library; however, the code does not need to take action unless required.

The phConnection and ppszProxy parameters contain the same values as those returned from OpenConnection.

Requirements

Header

dwconn.h

Library

DwConn.lib

See Also

Reference

Report Upload Client Functions
OpenConnection