Message ID for the Request "add stop off ponit to favoritelist":
RI_MESSAGE_ADDSTOPOFFPOINTFAVORITE
Write Memory:
RI_AddStopOffPoint2FavoriteList_WriteData(LPARAM id, RI_CAddStopOffPoint2FavoriteList data );
Return Values for AddStopOffPoint2FavoriteList:
RI_NOERROR = Add Stop of Point to FavoriteList succeeded
RI_NODESC = Add Stop of Point to FavoriteList not succeeded, because description failed
RI_NOTADDED = Add Stop of Point to FavoriteList not succeeded, because AddStation failed
Description:
Adds a stop-off-point to the favourite list.
Example:
#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_AddStopOffPoint2FavoriteList::WindowProc ( UINT message , WPARAM wParam , LPARAM lParam )
{
{
{
}
{
}
}
return CDialog::WindowProc( message, wParam, lParam );
}
void CDlgMFC_AddStopOffPoint2FavoriteList::foo()
{
LPARAM id = GetUniqueID();
return;
else
}