Read the documentation of the used functions and have a look at some example code. Both can be found in the web.
To iterate over the results use something like this (untested):
MYSQL_RES *result = mysql_store_result(mysqlCon);
if (result != NULL)
int numFields = mysql_num_fields(result);
while ((row = mysql_fetch_row(result)))
for (int i = 0; i < numFields; i++)
Don't return from a function without cleanup. In your code the result may be not freed and the connection may be not closed.
You should not use names and defines that begin with an underscore. These are reserved for usage by the compiler implementation.