LInet::OnMMediaReceived

#include "ltwrappr.h"

L_INT LInet::OnMMediaReceived(plConnection, nError, pMedia)

LInet * plConnection;

/* instance of a remote computer */

L_INT nError;

/* error code */

LMultimedia * pMedia;

/* buffer containing data */

Overridable function that notifies a computer that multimedia data has been received.

Parameter

Description

plConnection

Pointer to the instance of the remote computer that sent the multimedia data.

nError

If no error has occurred, nError will be SUCCESS. If nError is < SUCCESS, an error has occurred.

pMedia

Pointer to the multimedia class instance that references the multimedia data.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Do not free or delete plConnection or pMedia.

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:

Class Members

Topics:

Sending and Receiving Data