Share via


IHeaderCollection::AddTarget (Windows CE 5.0)

Send Feedback

This method adds a Target header to the collection and describes the service to which the local device will connect.

HRESULT AddTarget(unsigned longulSize,byte* pData);

Parameters

  • ulSize
    [in] Header size, in bytes.
  • pData
    [in] Pointer to the target OBEX service GUID.

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

Smartphone: Smartphone 2002 and later

Pocket PC: Pocket PC 2002 and later

OS Versions: Windows CE .NET 4.0 and later.

Header: Obex.h, Obex.idl.

Link Library: Uuid.lib.

See Also

IHeaderCollection | OBEX Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.