MSDN Library

WapSend

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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 
);

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.

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

Headerwap.h
LibraryWap.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions

Show:
© 2016 Microsoft