mfp_Disconnect

Description

The mfp_Disconnect function disconnects from the Message Feed server.

The function returns 0 if the disconnect was successful, or –1 in case of an error.

Use the mfp_GetLastError function to get a textual description of the error.

Syntax

int mfp_Disconnect(h_mfp hMFP);

Parameters

hMFP – The handle to the Message Feed connection to disconnect.

Example

See mfp_Connect.

Related commands

mfp_Connect

mfp_GetLastError