RI_CurrentFuelConsumption_WriteData(LPARAM id, RI_CCurrentFuelConsumption data);
#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_CurrentFuelConsumption::WindowProc ( UINT message , WPARAM wParam , LPARAM lParam )
{
{
{
}
{
}
{
}
}
return CDialog::WindowProc( message, wParam, lParam );
}
void CDlgMFC_CurrentFuelConsumption::foo()
{
LPARAM id = GetUniqueID();
LRESULT sharing_ret = RI_CurrentFuelConsumption_WriteData( id, data );
return;
else
}