home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
MAPI.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
6KB
|
149 lines
//----------------------------------------------------------------------------
// Mapi.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: Mapi.pas
//----------------------------------------------------------------------------
#ifndef MapiHPP
#define MapiHPP
//----------------------------------------------------------------------------
#include <Windows.hpp>
#include <System.hpp>
#include <Mapi.h>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Mapi
{
//-- type declarations -------------------------------------------------------
typedef Cardinal *PLHANDLE;
typedef MapiFileDesc *PMapiFileDesc;
#pragma pack(push, 1)
#pragma pack(pop)
typedef MapiFileDesc TMapiFileDesc;
typedef MapiFileTagExt *PMapiFileTagExt;
#pragma pack(push, 1)
#pragma pack(pop)
typedef MapiFileTagExt TMapiFileTagExt;
typedef MapiRecipDesc *PMapiRecipDesc;
#pragma pack(push, 1)
#pragma pack(pop)
typedef MapiRecipDesc TMapiRecipDesc;
typedef MapiMessage *PMapiMessage;
#pragma pack(push, 1)
#pragma pack(pop)
typedef MapiMessage TMapiMessage;
typedef Cardinal __stdcall (*TFNMapiLogOn)(Cardinal ulUIParam, char * lpszProfileName, char * lpszPassword
, Cardinal flFlags, Cardinal ulReserved, PLHANDLE lplhSession);
typedef TFNMapiLogOn *PFNMapiLogon;
typedef Cardinal __stdcall (*TFNMapiLogOff)(Cardinal lhSession, Cardinal ulUIParam, Cardinal flFlags
, Cardinal ulReserved);
typedef TFNMapiLogOff *PFNMapiLogOff;
typedef Cardinal __stdcall (*TFNMapiSendMail)(Cardinal lhSession, Cardinal ulUIParam, MapiMessage &lpMessage
, Cardinal flFlags, Cardinal ulReserved);
typedef TFNMapiSendMail *PFNMapiSendMail;
typedef Cardinal __stdcall (*TFNMapiSendDocuments)(Cardinal ulUIParam, char * lpszDelimChar, char *
lpszFilePaths, char * lpszFileNames, Cardinal ulReserved);
typedef TFNMapiSendDocuments *PFNMapiSendDocuments;
typedef Cardinal __stdcall (*TFNMapiFindNext)(Cardinal lhSession, Cardinal ulUIParam, char * lpszMessageType
, char * lpszSeedMessageID, Cardinal flFlags, Cardinal ulReserved, char * lpszMessageID);
typedef TFNMapiFindNext *PFNMapiFindNext;
typedef Cardinal __stdcall (*TFNMapiReadMail)(Cardinal lhSession, Cardinal ulUIParam, char * lpszMessageID
, Cardinal flFlags, Cardinal ulReserved, PMapiMessage &lppMessage);
typedef TFNMapiReadMail *PFNMapiReadMail;
typedef Cardinal __stdcall (*TFNMapiSaveMail)(Cardinal lhSession, Cardinal ulUIParam, MapiMessage &lpMessage
, Cardinal flFlags, Cardinal ulReserved, char * lpszMessageID);
typedef TFNMapiSaveMail *PFNMapiSaveMail;
typedef Cardinal __stdcall (*TFNMapiDeleteMail)(Cardinal lhSession, Cardinal ulUIParam, char * lpszMessageID
, Cardinal flFlags, Cardinal ulReserved);
typedef TFNMapiDeleteMail *PFNMapiDeleteMail;
typedef Cardinal __stdcall (*TFNMapiFreeBuffer)(void * pv);
typedef TFNMapiFreeBuffer *PFNMapiFreeBuffer;
typedef Cardinal __stdcall (*TFNMapiAddress)(Cardinal lhSession, Cardinal ulUIParam, char * lpszCaption
, Cardinal nEditFields, char * lpszLabels, Cardinal nRecips, MapiRecipDesc &lpRecips, Cardinal flFlags
, Cardinal ulReserved, PULONG lpnNewRecips, PMapiRecipDesc &lppNewRecips);
typedef TFNMapiAddress *PFNMapiAddress;
typedef Cardinal __stdcall (*TFNMapiDetails)(Cardinal lhSession, Cardinal ulUIParam, MapiRecipDesc &lpRecip
, Cardinal flFlags, Cardinal ulReserved);
typedef TFNMapiDetails *PFNMapiDetails;
typedef Cardinal __stdcall (*TFNMapiResolveName)(Cardinal lhSession, Cardinal ulUIParam, char * lpszName
, Cardinal flFlags, Cardinal ulReserved, PMapiRecipDesc &lppRecip);
typedef TFNMapiResolveName *PFNMapiResolveName;
//-- var, const, procedure ---------------------------------------------------
extern System::AnsiString MAPIDLL;
extern Cardinal __fastcall MapiLogOn(Cardinal ulUIParam, char * lpszProfileName, char * lpszPassword
, Cardinal flFlags, Cardinal ulReserved, PLHANDLE lplhSession);
extern Cardinal __fastcall MapiLogOff(Cardinal lhSession, Cardinal ulUIParam, Cardinal flFlags, Cardinal
ulReserved);
extern Cardinal __fastcall MapiSendMail(Cardinal lhSession, Cardinal ulUIParam, MapiMessage &lpMessage
, Cardinal flFlags, Cardinal ulReserved);
extern Cardinal __fastcall MapiSendDocuments(Cardinal ulUIParam, char * lpszDelimChar, char * lpszFilePaths
, char * lpszFileNames, Cardinal ulReserved);
extern Cardinal __fastcall MapiFindNext(Cardinal lhSession, Cardinal ulUIParam, char * lpszMessageType
, char * lpszSeedMessageID, Cardinal flFlags, Cardinal ulReserved, char * lpszMessageID);
extern Cardinal __fastcall MapiReadMail(Cardinal lhSession, Cardinal ulUIParam, char * lpszMessageID
, Cardinal flFlags, Cardinal ulReserved, PMapiMessage &lppMessage);
extern Cardinal __fastcall MapiSaveMail(Cardinal lhSession, Cardinal ulUIParam, MapiMessage &lpMessage
, Cardinal flFlags, Cardinal ulReserved, char * lpszMessageID);
extern Cardinal __fastcall MapiDeleteMail(Cardinal lhSession, Cardinal ulUIParam, char * lpszMessageID
, Cardinal flFlags, Cardinal ulReserved);
extern Cardinal __fastcall MapiFreeBuffer(void * pv);
extern Cardinal __fastcall MapiAddress(Cardinal lhSession, Cardinal ulUIParam, char * lpszCaption, Cardinal
nEditFields, char * lpszLabels, Cardinal nRecips, MapiRecipDesc &lpRecips, Cardinal flFlags, Cardinal
ulReserved, PULONG lpnNewRecips, PMapiRecipDesc &lppNewRecips);
extern Cardinal __fastcall MapiDetails(Cardinal lhSession, Cardinal ulUIParam, MapiRecipDesc &lpRecip
, Cardinal flFlags, Cardinal ulReserved);
extern Cardinal __fastcall MapiResolveName(Cardinal lhSession, Cardinal ulUIParam, char * lpszName,
Cardinal flFlags, Cardinal ulReserved, PMapiRecipDesc &lppRecip);
extern void __fastcall finalization(void);
} /* namespace Mapi */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Mapi;
#endif
//-- end unit ----------------------------------------------------------------
#endif // Mapi