#include "MMILib.h" /* ÁöÁ¤µÈ ÀüȹøÈ£·Î Àüȸ¦ °Ç´Ù */ STATUS PhoneCall( char *phonenum ) { static char telNum[MAX_TELNUM_LEN]; strcpy( telNum, phonenum ); return RequestToApplication( MMIAppID, REQ_MMI_CALL_WITH_RETURN, (void*)&telNum ); } /* »õ·Î¿î ¸Þ½ÃÁö ÀÛ¼º½Ã */ STATUS SMSCall( void ) { return RequestToApplication( MMIAppID, REQ_MMI_COMPOSE_MSG, NULL ); } /* ¸Þ½ÃÁö ³»¿ëÀ» ÀÛ¼ºÇÏ¿© ÆíÁý½Ã */ STATUS SMSCallwithMsg( char *m_from, char *m_to, char *m_msg ) { static T_MSG msg; strcpy( msg.pFrom, m_from ); strcpy( msg.pTo, m_to ); strcpy( msg.Body, m_msg ); return RequestToApplication( MMIAppID, REQ_MMI_COMPOSE_MSG, NULL ); } |