Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Syntax
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 Value
Returns S_OK if successful. If unsuccessful, this function returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL.
Requirements
| Header | wap.h |
| Library | Wap.lib |
| Windows Embedded CE | Windows CE 3.0 and later |
| Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |