Adding M_IMPORT, M_EXPORT, M_DECL to handle api calls.