Message ID for the Request "add stop off ponit to previous destination list":
RI_MESSAGE_ADDSTOPOFFPOINT2PDL
Write Memory:
RI_AddStopOffPoint2PreviousDestinationList_WriteData(LPARAM id, RI_CAddStopOffPoint2PreviousDestinationList data );
Return Values for AddStopOffPoint2PreviousDestinationList:
RI_NOERROR = Add Stop of Point to previous destination list succeeded
RI_NODESC = Add Stop of Point to previous destination list not succeeded, because description failed
RI_NOTADDED = Add Stop of Point to previous destination list not succeeded, because AddStation failed
Description:
Adds a stop-off-point to the previous destination 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_AddStopOffPoint2PreviousDestinationList::WindowProc ( UINT message , WPARAM wParam , LPARAM lParam )
{
{
{
}
{
}
}
return CDialog::WindowProc( message, wParam, lParam );
}
void CDlgMFC_AddStopOffPoint2PreviousDestinationList::foo()
{
LPARAM id = GetUniqueID();
return;
else
}