ObexConnect

This function establishes a connection with an OBEX server.

HANDLE ObexConnect (
  WCHAR * szMachineName, 
  DWORD dwTransport, 
  LPBYTE pbService, 
  DWORD cService 
);

Parameters

  • szMachineName
    [in] Pointer to the machine name.
  • dwTransport
    [in] Type of transport to be used.
  • pbService
    [in] Type of service.
  • cService
    [in] Service to use.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Requirements

Pocket PC Platforms: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: obexserver.h
Library: obexguid.lib

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.