WapSend

Send Feedback

This function sends a WAP packet from the layer that was specified in the WapOpen call.

HRESULT WapSend(
  const WAP_HANDLE whHandle,
  WAP_PRIMITIVE_BASE* const pwpbPrimitive 
);

Parameters

  • whHandle
    [in] The WAP handle retrieved by the WapOpen function.
  • pwpbPrimitive
    [in] Pointer to a WAP_PRIMITIVE_BASE structure containing the packet to send. All PDUs are derived from the WAP_PRIMITIVE_BASE structure.

Return Values

Returns S_OK if successful. If unsuccessful, this function returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL.

Requirements

Pocket PC: Pocket PC 2002 and later.
Smartphone: Smartphone 2002 and later.
OS Versions: Windows CE 3.0 and later.
Header: Wap.h.
Library: Wap.lib.

See Also

WapOpen | WAP_PRIMITIVE_BASE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.