LInet::OnImageReceived
#include "ltwrappr.h"
virtual L_INT LInet::OnImageReceived(plConnection, nError, pBitmap)
LInet * plConnection; |
/* instance of a remote computer */ |
L_INT nError; |
/* error code */ |
LBitmapBase * pBitmap; |
/* pointer to an LBitmapBase object */ |
Overridable function that notifies a computer that an image has been received.
Parameter |
Description |
plConnection |
Pointer to the instance of remote computer that sent the image. |
nError |
If no error has occurred, nError will be SUCCESS. If nError is < SUCCESS, an error has occurred. |
pBitmap |
Pointer to the LBitmapBase object that references the received image. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Do not free or delete plConnection or pBitmap.
If this callback function is not derived, but an image window is set using LInet::SetImageWindow, the received image will be displayed on that window.
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
For an example, refer to the NETCAP
demo.