public static void FindNearbyPoi(int inListSize, int inCategoryNumber, string inStrCategoryName, int inLX, int inLY, int inMaxTime) { SPoi[] pois = new SPoi[0]; int ret = CApplicationAPI.FindNearbyPoi(out _mySError, out pois, ref inListSize, inCategoryNumber, inStrCategoryName, inLX, inLY, inMaxTime); O("FindNearbyPoi returns: " + ret.ToString()); if (pois != null) { for (int i = 0; i < pois.Length; i++) { O(" " + i.ToString() + ". " + pois[i].GetName() + ", " + pois[i].GetAddress()); } } }