InetSendLoadCmd method (ILEADRasterInet)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

short InetSendLoadCmd (long nCommandID, BSTR pszFile, short nBitsPerPixel, short nOrder);

Overview

Refer to Sending Commands and Responses

Remarks

(Internet only) Sends a load command to a remote computer.

The remote computer should respond by calling the InetSendLoadRsp method in its InetReceiveCmd event.

With this command, the local computer will signal the remote computer to load a bitmap and send across the bitmap identifier (not the bitmap data!). The local computer can then use the bitmap identifier in other commands (like the InetSendAttachBitmapCmd method). The bitmap identifier will be sent in the response.

When a response is received from a remote computer, the InetReceiveRsp event is triggered.

The InetReceiveCmd event will receive the pszFile, nBitsPerPixel and nOrder information in the Params parameter. The pszFile information will be in Params.ParamValue(0). The nBitsPerPixel information will be in Params.ParamValue(1), and so forth.

See Also

Elements:

InetSendLoadRsp method, InetReceiveCmd event, InetReceiveRsp event

Topics:

Working with Internet Functionality: Command Messages

 

Client-Server Diagram: Sending Commands and Responses