int WINAPI SubmitAExEx(
unsigned char OrgTON,
unsigned char OrgNPI, 
LPCTSTR OrgAddr,
unsigned char DestTON, 
unsigned char DestNPI, 
LPCTSTR DestAddr, 
unsigned char PRI, 
unsigned char RD, 
unsigned char RP, 
unsigned char SRR, 
unsigned char MR, 
unsigned char DCS, 
unsigned char PID, 
LPCTSTR Schedule, 
LPCTSTR Expire, 
unsigned long Default_ID, 
unsigned char UDHI, 
unsigned long UDLen,
LPCTSTR UserData, 
LPCTSTR ServiceSubType, 
unsigned char* byMsgID, 
unsigned char byPKTotal, 
unsigned char byPKNumber, 
unsigned char byMsglevel, 
         unsigned char byFeeUserType, 
LPCTSTR sSPID, LPCTSTR sFeeType, 
         LPCTSTR sFeeAddr, 
LPCTSTR sFeeCode,
unsigned char byUserNum, 
         LPCTSTR sDestAddrs,
unsigned long* SM_ID, 
unsigned char* FCS)附上我自己的申明。Private Declare Function SubmitAExEx Lib "SMEIDll.dll" (
ByVal OrgTON As Byte, 
ByVal OrgNPI As Byte, 
ByVal OrgAddr As String, 
ByVal DestTON As Byte, 
ByVal DestNPI As Byte, 
ByVal DestAddr As String, 
ByVal PRI As Byte, 
ByVal RD As Byte, 
ByVal RP As Byte, 
ByVal SRR As Byte, 
ByVal MR As Byte, 
ByVal DCS As Byte, 
ByVal PID As Byte, 
ByVal Schedule As String, 
ByVal Expire As String, 
ByVal Default_ID As Long, 
ByVal UDHI As Byte, 
ByVal UDLen As Long, 
ByVal UserData As String, 
ByVal ServiceSubType As String, 
ByRef byMsgID As Byte, 
ByVal byPKTotal As Byte, 
ByVal byPKNumber As Byte, 
ByVal byMsglevel As Byte, 
ByVal byFeeUserType As Byte, 
ByVal sSPID As String, 
ByVal sFeeType As String, 
ByVal sFeeAddr As String, 
ByVal sFeeCode As String, 
ByVal byUserNum As Byte, 
ByVal sDestAddrs As String, 
ByRef SM_ID As Long, 
ByRef FCS As Byte
) As Long