SYSgetDistance

Top  Previous  Next

Distance determine.

With this routine the distance is determined between two points in metres.

Parametre

obj (const POBJECT) [IN]

Act on object.

msg (const char *) [IN]

Sign chain contains text which is given if the distance is determined.

distance (int *) [IN]

In distance becomes the ascertained distance zurückgeliefert.

Result

(int) [OUT]

If FALSE zurückgeliefert became, this routine was broken off by the user, but becomes TRUE zurückgeliefert.

Declaration

#include "system.h"

 

int DLLENTRY SYSgetDistance (

const OBJECT obj,

const char * msg,

int * distance

);