L_InetSendCreateWinRsp

#include "l_bitmap.h"
#include "ltnet.h"

L_LTNET_API L_INT L_InetSendCreateWinRsp(hComputer, uCommandID, uWindowID, uLength, pExtraInfo, nStatus)

L_COMP hComputer;

/* handle to a remote computer*/

L_UINT uCommandID;

/* command id */

LONG_PTR uWindowID;

/* window id */

L_UINT uLength;

/* length of extra data */

L_CHAR * pExtraInfo;

/* extra data */

L_INT nStatus;

/* status */

Sends a create window response to a remote computer.

Parameter

Description

hComputer

Handle of the remote computer to which the command 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.

uWindowID

The id of the window that was just created. This id should be unique for each create request.

uLength

Length of any extra data associated with the response.

pExtraInfo

Pointer to any extra data associated with the response.

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 error occurred. Refer to Return Codes.

Comments

This function sends a response to a create window command that was sent from a remote computer using the L_InetSendCreateWinCmd.

To receive commands, provide an INETCOMMANDCALLBACK function. This function must be set using L_InetSetCommandCallback.

The INETRESPONSECALLBACK function will receive the uWindowID information in the pParams parameter. The uWindowID 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_InetSendCreateWinCmd, INETCOMMANDCALLBACK, INETRESPONSECALLBACK

Topics:

Sending Commands and Responses

 

A Client-Server Diagram: Sending Commands and Responses

Example

For an example, refer to L_InetSendCreateWinCmd.