Dec 22, 2013 #1 R Ragu Raman Newbie level 2 Joined Nov 28, 2013 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 11 #define IAP_LOCATION 0x7ffffff1 ... unsigned long command[5]; unsigned long result[3]; ... typedef void (*IAP)(unsigned int [],unsigned int[]); IAP iap_entry; iap_entry = (IAP) IAP_LOCATION; iap_entry(command, result); Can someone explain how it works, especially: iap_entry = (IAP) IAP_LOCATION; iap_entry(command, result)
#define IAP_LOCATION 0x7ffffff1 ... unsigned long command[5]; unsigned long result[3]; ... typedef void (*IAP)(unsigned int [],unsigned int[]); IAP iap_entry; iap_entry = (IAP) IAP_LOCATION; iap_entry(command, result); Can someone explain how it works, especially: iap_entry = (IAP) IAP_LOCATION; iap_entry(command, result)