VB:
---------------------------
Public Declare Function MAPISendMail Lib "MAPI32.DLL" ( _
ByVal Session As Long, _
ByVal UIParam As Long, _
ByRef Message As MAPIMessage, _
ByRef Recipient() As MapiRecip, _
ByRef File() As MapiFile, _
ByVal Flags As MAPISendMailFlags, _
ByVal Reserved As Long _
) As MapiErrors
VC:
------------------------------
typedef ULONG (FAR PASCAL MAPISENDMAIL)(
LHANDLE lhSession,
ULONG ulUIParam,
lpMapiMessage lpMessage,
FLAGS flFlags,
ULONG ulReserved
);
typedef MAPISENDMAIL FAR *LPMAPISENDMAIL;
MAPISENDMAIL MAPISendMail;
---------------------------
Public Declare Function MAPISendMail Lib "MAPI32.DLL" ( _
ByVal Session As Long, _
ByVal UIParam As Long, _
ByRef Message As MAPIMessage, _
ByRef Recipient() As MapiRecip, _
ByRef File() As MapiFile, _
ByVal Flags As MAPISendMailFlags, _
ByVal Reserved As Long _
) As MapiErrors
VC:
------------------------------
typedef ULONG (FAR PASCAL MAPISENDMAIL)(
LHANDLE lhSession,
ULONG ulUIParam,
lpMapiMessage lpMessage,
FLAGS flFlags,
ULONG ulReserved
);
typedef MAPISENDMAIL FAR *LPMAPISENDMAIL;
MAPISENDMAIL MAPISendMail;