ReleaseConnection (Windows CE 5.0)

Send Feedback

This function releases an open connection after upload.

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 Values

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

OS Versions: Windows CE 5.0 and later.
Header: DwConn.h.
Link Library: DwConn.lib.

See Also

Report Upload Client Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.