L_InetHttpSendForm

#include "ltweb.h"

L_LTWEB_API L_INT L_InetHttpSendForm(hHttp, pNameValue, uCount)

HINET hHttp;

/* handle to an HTTP connection*/

pNAMEVALUE pNameValue;

/* pointer to a structure */

L_UINT uCount

/* number of name/value pairs*/

Sends a form to an HTTP server.

Parameter

Description

hHttp

Handle to the HTTP connection. It is the same handle obtained using the L_InetHttpConnect function.

pNameValue

Pointer to an array of structures that contain the name and value pairs associated with the form. This information corresponds to the name and value you would provide if programming in HTML.

uCount

The number of name and value pairs in pNameValue.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function allows you to simulate submitting a form to an Internet browser. You do not need an Internet browser to use this function.

Required DLLs and Libraries

LTWEB

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_InetHttpSendBitmap, L_InetHttpSendData, L_InetHttpSendRequest

Topics:

HTTP Functions: Sending Data Over a HTTP Connection

 

Working with HTTP Functions

Example

For an example, refer to L_InetHttpConnect.