L_InetStartUp
#include "l_bitmap.h"
#include "ltnet.h"
L_INT EXT_FUNCTION L_InetStartUp(L_VOID)
Initializes the LEADTOOLS Internet DLL.
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function initializes the LEADTOOLS Internet DLL. This must be the first function that is called before using any other Internet functions. For each call to L_InetStartUp, there needs to be a corresponding call to L_InetShutDown.
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
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, int nCmdShow)
{
MSG msg ;
/* start up internet DLL */
L_InetStartUp();
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg) ;
DispatchMessage(&msg) ;
}
/* shut down internet DLL */
L_InetShutDown();
return(msg.wParam);
}