ObexSendData

This function sends data from the local device to a remote device.

BOOL ObexSendData(
  HANDLE hConnect, 
  WCHAR * szDataName, 
  CHAR * data, 
  DWORD size 
);

Parameters

  • hConnect
    [in] Connection handle.
  • szDataName
    [in] Pointer of the data name.
  • data
    [in] Pointer of the data to be sent.
  • size
    [in] Byte size of the data to be sent.

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.