Message ID for the Request "DeleteBuddyTracking":
RI_MESSAGE_DELETEBUDDYTRACKING
Write Memory:
RI_DeleteBuddyTracking_WriteData(LPARAM id, RI_CDeleteBuddyTracking data);
Return Values for DeleteBuddyTracking:
RI_NOERROR = Delete buddy succeeded.
RI_NOTAV = Could not delete buddy, because buddyId is not available.
<h2>Description:</h2>Delete the buddy tracking icon.<br>
<br>
<H2>Example:</H2>
#define USE_LOADLIBRARY
#include "TNSRemoteInterfaceDll.h"
LPARAM GetUniqueID()
{
static LPARAM id = 0;
if (++id == 0) ++id;
return id;
}
inline LRESULT RI_MESSAGE( const UINT request, HWND h_client, LPARAM id )
{
PostMessage(
RI_GetTNS(), request, WPARAM(h_client),
id );
}
LRESULT CDlgMFC_DeleteBuddyTracking::WindowProc ( UINT message , WPARAM wParam , LPARAM lParam )
{
{
{
}
{
}
{
}
}
return CDialog::WindowProc( message, wParam, lParam );
}
void CDlgMFC_DeleteBuddyTracking::foo()
{
LPARAM id = GetUniqueID();
LRESULT sharing_ret = RI_DeleteBuddyTracking_WriteData( id, data );
return;
else
}