WapSend (Windows Embedded CE 6.0)
1/6/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 |