L_InetSendLoadRsp
#include "l_bitmap.h"
#include "ltnet.h"
L_INT EXT_FUNCTION L_InetSendLoadRsp(hComputer, uCommandID, uBitmapID, uExtra, pExtra, nStatus)
L_COMP hComputer; |
/* handle to a remote computer */ |
L_UINT uCommandID; |
/* command id */ |
L_UINT uBitmapID; |
/* bitmap id */ |
L_UINT uExtra; |
/* length of extra data */ |
/* extra data */ | |
L_INT nStatus; |
/* status */ |
Sends a load response to a remote computer.
Parameter |
Description |
hComputer |
Handle of the remote computer to which the response will be sent. |
uCommandID |
Command ID. Each command sent by a member of a connection should have a unique ID. Since a member of a connection may send several commands, this ID allows that member to identify when a specific command request has been completed. |
uBitmapID |
The id of the bitmap that was loaded. This id should be unique for each load request. |
uExtra |
The size of the extra data (pExtra). Unused if pExtra is NULL. |
pExtra |
Pointer to any extra data needed by the response. Pass NULL if the response does not need to pass any extra data. |
nStatus |
Status of the original command. If the command completes successfully, this should be SUCCESS. Otherwise, it should be one of the Return Codes. |
Returns
SUCCESS |
This function was successful. |
< 1 |
An occurred. Refer to Return Codes. |
Comments
This function sends a response to a load command that was sent from a remote computer using the L_InetSendLoadCmd.This response provides the remote computer with an id to be used in identifying the bitmap.
To receive commands, provide an INETCOMMANDCALLBACK function. This function must be set using L_InetSetCommandCallback.
The INETRESPONSECALLBACK function will receive the uBitmapID information in the pParams parameter. The uBitmapID information will be in pParams[0].
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: |
L_InetSendLoadCmd, INETCOMMANDCALLBACK, INETRESPONSECALLBACK |
Topics: |
|
|
Example
For an example, refer to L_InetSetCommandCallback.