Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LInetPacket::SetExtraData
#include "ltwrappr.h"
L_INT LInetPacket::SetExtraData(uExtra, pExtra)
L_UINT uExtra; |
/* size of the binary data */ |
L_VOID * pExtra; |
/* binary data to be sent */ |
Sets or changes the extra data associated with the LlnetPacket object.
Parameter |
Description |
uExtra |
Size of the binary data. |
pExtra |
Binary (extra) data to be set. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An occurred. Refer to Return Codes. |
Comments
This function allows the user to set or change the extra data associated with the LlnetPacket object. Note that this packet can be used to send both commands and responses. A packet can contain a binary chunk and a variable number of parameters.
To set or change the parameter data, call LInetPacket::SetFormats.
Required DLLs and Libraries
LTNET For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics: |
Example
For an example, refer to LInetPacket::SetFormats.