My main aim is to have the windows mobile directly route international phone calls through a calling card. To do this I would need to append the calling card access number and a "pause" before the number being called, if it is an international number. It seems that this could be done at two different layers, but I am not sure how to do it:
1) The layer to which the UI ("talk button" or "call option" in the context menu) passes the phone number for calling. From the documentation available on Microsoft's site it seemed that the UI passes the phone number to the "PhoneMakeCall" function. I have a wrapper function that parses the phone number and then calls "PhoneMakeCall". Is there a reference to "PhoneMakeCall" (maybe in the registry) that I could change to point to my wrapper function so that the UI now uses the wrapper method instead of "PhoneMakeCall"?
2) What seems more feasible to me, is to write a wrapper for the callback function associated with the press of "Talk" button. Then I could register the wrapper as the callback for the "Talk" button. How can I locate the current callback function for the "talk" button and how do I register the wrapper function as the new callback?
PS: I am sorry if my question seems vague. My knowledge on this subject is very bookish and I do not have a lot of (but would love to get some) hands-on experience with low level windows stuff.