IReplObjHandler::SetPacket
Note This interface is not supported on Windows CE 3.0-based platforms.
This method is implemented by the ActiveSync service provider to serialize one or more packets into an object. These packets are guaranteed to be in the same order as when they are sent.
HRESULT SetPacket(
LPBYTE lpbData,
DWORD cbData);
Parameters
- lpbData
Long pointer to the incoming packet. - cbData
Stores the packet size.
Return Values
One of the values described in the following table is returned.
| Value | Description |
|---|---|
| NOERROR | The packet was successfully used to deserialize the object. |
| RERR_SKIP_ALL | Failed to apply the packet toward the object; skip all remaining packets for the object. |
Remarks
The IReplObjHandler::SetPacket method is called continuously until the last packet is received. These packets are guaranteed to be received in the same number and order as they are created by IReplObjHandler::GetPacket.
Requirements
| Runs On | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Cesync.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.