  ; ===========================================
  ; mapi32.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF MAPI32_INC
MAPI32_INC equ <1>

BuildDisplayTable PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CbOfEncoded PROTO :DWORD
CchOfEncoding PROTO :DWORD
ChangeIdleRoutine PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CloseIMsgSession PROTO :DWORD
CreateIProp PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateTable PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DeinitMapiUtil PROTO 
DeregisterIdleRoutine PROTO :DWORD
EnableIdleRoutine PROTO :DWORD,:DWORD
EncodeID PROTO :DWORD,:DWORD,:DWORD
FBadColumnSet PROTO :DWORD
FBadEntryList PROTO :DWORD
FBadProp PROTO :DWORD
FBadPropTag PROTO :DWORD
FBadRestriction PROTO :DWORD
FBadRglpNameID PROTO :DWORD,:DWORD
FBadRglpszA PROTO :DWORD,:DWORD
FBadRglpsz equ <FBadRglpszA>

FBadRglpszW PROTO :DWORD,:DWORD
FBadRow PROTO :DWORD
FBadRowSet PROTO :DWORD
FBadSortOrderSet PROTO :DWORD
FBinFromHex PROTO :DWORD,:DWORD
FDecodeID PROTO :DWORD,:DWORD,:DWORD
FEqualNames PROTO :DWORD,:DWORD
FPropCompareProp PROTO :DWORD,:DWORD,:DWORD
FPropContainsProp PROTO :DWORD,:DWORD,:DWORD
FPropExists PROTO :DWORD,:DWORD
FreePadrlist PROTO :DWORD
FreeProws PROTO :DWORD
FtAdcFt PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FtAddFt PROTO :DWORD,:DWORD,:DWORD,:DWORD
FtDivFtBogus PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FtMulDw PROTO :DWORD,:DWORD,:DWORD
FtMulDwDw PROTO :DWORD,:DWORD
FtNegFt PROTO :DWORD,:DWORD
FtSubFt PROTO :DWORD,:DWORD,:DWORD,:DWORD
FtgRegisterIdleRoutine PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetAttribIMsgOnIStg PROTO :DWORD,:DWORD,:DWORD
GetTnefStreamCodepage PROTO :DWORD,:DWORD,:DWORD
HexFromBin PROTO :DWORD,:DWORD,:DWORD
HrAddColumns PROTO :DWORD,:DWORD,:DWORD,:DWORD
HrAddColumnsEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HrAllocAdviseSink PROTO :DWORD,:DWORD,:DWORD
HrComposeEID PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HrComposeMsgID PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HrDecomposeEID PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HrDecomposeMsgID PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HrDispatchNotifications PROTO :DWORD
HrEntryIDFromSz PROTO :DWORD,:DWORD,:DWORD
HrGetOmiProvidersFlags PROTO :DWORD,:DWORD
HrGetOneProp PROTO :DWORD,:DWORD,:DWORD
HrIStorageFromStream PROTO :DWORD,:DWORD,:DWORD,:DWORD
HrQueryAllRows PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HrSetOmiProvidersFlagsInvalid PROTO :DWORD
HrSetOneProp PROTO :DWORD,:DWORD
HrSzFromEntryID PROTO :DWORD,:DWORD,:DWORD
HrThisThreadAdviseSink PROTO :DWORD,:DWORD
HrValidateIPMSubtree PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HrValidateParameters PROTO :DWORD,:DWORD
InstallFilterHook PROTO :DWORD
IsBadBoundedStringPtr PROTO :DWORD,:DWORD
LPropCompareProp PROTO :DWORD,:DWORD
LaunchWizard PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
LpValFindProp PROTO :DWORD,:DWORD,:DWORD
MAPIAdminProfiles PROTO :DWORD,:DWORD
MAPIAllocateBuffer PROTO :DWORD,:DWORD
MAPIAllocateMore PROTO :DWORD,:DWORD,:DWORD
MAPIDeinitIdle PROTO 
MAPIFreeBuffer PROTO :DWORD
MAPIGetDefaultMalloc PROTO 
MAPIInitIdle PROTO :DWORD
MAPIInitialize PROTO :DWORD
MAPILogonEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
MAPIOpenFormMgr PROTO :DWORD,:DWORD
MAPIOpenLocalFormContainer PROTO :DWORD
MAPIUninitialize PROTO 
MNLS_CompareStringW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
MNLS_IsBadStringPtrW PROTO :DWORD,:DWORD
MNLS_MultiByteToWideChar PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
MNLS_WideCharToMultiByte PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
MNLS_lstrcmpW PROTO :DWORD,:DWORD
MNLS_lstrcpyW PROTO :DWORD,:DWORD
MNLS_lstrlenW PROTO :DWORD
MapStorageSCode PROTO :DWORD
OpenIMsgOnIStg PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OpenIMsgSession PROTO :DWORD,:DWORD,:DWORD
OpenStreamOnFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OpenTnefStream PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OpenTnefStreamEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PpropFindProp PROTO :DWORD,:DWORD,:DWORD
PropCopyMore PROTO :DWORD,:DWORD,:DWORD,:DWORD
RTFSync PROTO :DWORD,:DWORD,:DWORD
ScBinFromHexBounded PROTO :DWORD,:DWORD,:DWORD
ScCopyNotifications PROTO :DWORD,:DWORD,:DWORD,:DWORD
ScCopyProps PROTO :DWORD,:DWORD,:DWORD,:DWORD
ScCountNotifications PROTO :DWORD,:DWORD,:DWORD
ScCountProps PROTO :DWORD,:DWORD,:DWORD
ScCreateConversationIndex PROTO :DWORD,:DWORD,:DWORD,:DWORD
ScDupPropset PROTO :DWORD,:DWORD,:DWORD,:DWORD
ScGenerateMuid PROTO :DWORD
ScInitMapiUtil PROTO :DWORD
ScLocalPathFromUNC PROTO :DWORD,:DWORD,:DWORD
ScRelocNotifications PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ScRelocProps PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ScUNCFromLocalPath PROTO :DWORD,:DWORD,:DWORD
SetAttribIMsgOnIStg PROTO :DWORD,:DWORD,:DWORD,:DWORD
SwapPlong PROTO :DWORD,:DWORD
SwapPword PROTO :DWORD,:DWORD
SzFindCh PROTO :DWORD,:DWORD
SzFindLastCh PROTO :DWORD,:DWORD
SzFindSz PROTO :DWORD,:DWORD
UFromSz PROTO :DWORD
UNKOBJ_COFree PROTO :DWORD,:DWORD
UNKOBJ_Free PROTO :DWORD,:DWORD
UNKOBJ_FreeRows PROTO :DWORD,:DWORD
UNKOBJ_ScAllocate PROTO :DWORD,:DWORD,:DWORD
UNKOBJ_ScAllocateMore PROTO :DWORD,:DWORD,:DWORD,:DWORD
UNKOBJ_ScCOAllocate PROTO :DWORD,:DWORD,:DWORD
UNKOBJ_ScCOReallocate PROTO :DWORD,:DWORD,:DWORD
UNKOBJ_ScSzFromIdsAlloc PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlAddRef PROTO :DWORD
UlFromSzHex PROTO :DWORD
UlPropSize PROTO :DWORD
UlRelease PROTO :DWORD
WrapCompressedRTFStream PROTO :DWORD,:DWORD,:DWORD
WrapProgress PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WrapStoreEntryID PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
__CPPValidateParameters PROTO :DWORD,:DWORD
__ValidateParameters PROTO :DWORD,:DWORD

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file mapi32.inc
echo -----------------------------------------
ENDIF
