Libary function call

I am trying to figure out how to call a function in a library but I don't know the correct syntax.

The library function definition is
1
2
3
DLLEXPORT int tqsl_getStationLocation 	(  	tQSL_Location *  	loc,
		const char *  	name
	)  

And the header has:
 
typedef void * tQSL_Location;

It's the tQSL_Location pointer I don't understand. If the function returns an int, when you call it with a location name, then what does one do with the tQSL_Location parameter?
The documentation is supposed to describe what each of the parameters are for. It seems loc is a pointer to a void pointer, but beyond that I can't help you.
Topic archived. No new replies allowed.