Home COM GDI+ WebBrowser Data Access

IMAPISupport Interface

 

IID_IMAPISupport

{0002030F-0000-0000-C000-000000000046}

 

 

The IMAPISupport interface provides implementations for tasks that are commonly performed by service providers and message service entry point functions. Service providers receive a pointer to their support object when MAPI calls their provider object's logon method; message services receive their support object pointer in the call to their entry point function.

 

There are four different support objects, one for address book, message store, and transport providers and one for message services. Service providers and message services call the methods in their support objects as part of their implementations of other interface methods. Each different support object has complete implementations of the methods that are applicable to its caller; the methods that are not applicable return MAPI_E_NO_SUPPORT.

 

Address book provider support objects have implementations for the following methods: Address, CompareEntryIDs, CreateOneOff, Details, DoConfigPropsheet, DoProgressDialog, GetLastError, GetMemAllocRoutines, GetOneOffTable, GetSvcConfigSupportObj, IStorageFromStream, MakeInvalid, ModifyStatusRow, NewEntry, NewUID, Notify, OpenAddressBook, OpenEntry, OpenProfileSection, OpenTemplateID, SetProviderUID, Subscribe, Unsubscribe, WrapStoreEntryID.

 

Message store provider support objects have implementations for the following methods: CompareEntryIDs, CompleteMsg, CopyFolder, CopyMessages, CreateOneOff, DoCopyProps, DoCopyTo,  DoConfigPropsheet, DoProgressDialog, DoSentMail, ExpandRecips, GetLastError, GetMemAllocRoutines, GetSvcConfigSupportObj, IStorageFroMStrean, MakeInvalid, ModifyProfile, ModifyStatusRow, NewUID, Notify, OpenAddressBook, OpenEntry, OpenProfileSection, PrepareSubmit, ReadReceipt, SetProviderUID, SpoolerNotify, StoreLogoffTransports, Subscribe, Unsubscribe, WrapStoreEntryID.

 

Transport provider support objects have implementations for the following methods: CompareEntryIDs, CreateOneOff, DeConfigPropSheet, GetLastError, GetMemAllocRoutines, GetSvcCondigSupportObj, ISotrageFromStream, MakeInvalid, ModifyStatusRow, NewUID, Notify, OpenAddressBook, OpenEntry, OpenProfileSection, RegisterPreprocessor,, SpoolerNotify, SpoolerYield, StatusRecips, Subscribe, Unsubscribe, WrapStoreEntryID.

 

Message service support objects have implementations for the following methods: DoConfigPropsheet, GetLastError, GetMemAllocRoutines, GetSvcConfigSupportObj, MakeInvalid, NewUID, OpenProfileSection.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IMAPISupport Methods

Description

GetLastError

Returns a MAPIERROR structure containing information about the previous support object error.

GetMemAllocRoutines

Retrieves the addresses of the MAPI memory allocation and deallocation functions: MAPIAllocateBuffer, MAPIAllocateMore, and MAPIFreeBuffer.

Subscribe

Registers an advise sink to receive notifications through MAPI.

Unsubscribe

Cancels the responsibility for sending notifications that was previously established with a call to the IMAPISupport::Subscribe method.

Notify

Sends a notification of a specified event to an advise source that originally registered for the notification through IMAPISupport::Subscribe.

ModifyStatusRow

Modifies the status table by adding a new row or modifying an existing row.

OpenProfileSection

Opens a section of the current profile and returns an IProfSect pointer for further access.

RegisterPreprocessor

Registers a transport provider's preprocessor function, a function that conforms to the PreprocessMessage prototype.

NewUID

Creates a new MAPIUID structure to be used as a unique identifier.

MakeInvalid

Marks an object as unusable.

SpoolerYield

Gives control of the CPU to the MAPI spooler so that it can perform any tasks it deems necessary.

SpoolerNotify

Notifies the MAPI spooler of a change in status or a request for service.

CreateOneOff

Creates an entry identifier for a one-off address.

SetProviderUID

Registers a MAPIUID structure that uniquely represents the service provider.

CompareEntryIDs

Compares two entry identifiers to determine if they refer to the same object.

OpenTemplateID

Opens a recipient entry in a foreign address book provider.

OpenEntry

Opens an object and returns an interface pointer for further access.

GetOneOffTable

Returns a pointer to the MAPI one-off table a list of templates supported by all address book providers for creating new recipients.

Address

Displays the common address dialog box.

Details

Displays a modal dialog box showing details about a particular address book entry.

NewEntry

Adds a new recipient directly to an address book container or to the recipient list of an outgoing message.

DoConfigPropsheet

Displays a configuration property sheet.

CopyMessages

Copies or moves messages from one folder to another folder.

CopyFolder

Copies or moves a folder from its current parent folder to another parent folder.

DoCopyTo

Copies or moves all properties of one object, except for specifically excluded properties, to another object.

DoCopyProps

Copies or moves one or more properties of an object to another object.

DoProgressDialog

Retrieves a progress object for displaying a progress indicator.

ReadReceipt

Generates a read or nonread report for a message.

PrepareSubmit

Prepares a message for submission to the MAPI spooler.

ExpandRecips

Completes a message's recipient list, expanding particular distribution lists.

DoSentMail

Performs processing on a sent message.

OpenAddressBook

Provides access to the address book.

CompleteMsg

Performs postprocessing on a message.

StoreLogoffTransports

Requests the orderly release of a message store.

StatusRecips

Generates delivery and nondelivery reports.

WrapStoreEntryID

Converts a message store's internal entry identifier to an entry identifier in the MAPI standard format.

ModifyProfile

Makes the profile section for a message store provider permanent.

IStorageFromStream

Implements a storage object to access a stream.

GetSvcConfigSupportObj

Creates a message service support object.

 

GetLastError

 

FUNCTION IMAPISupport_GetLastError ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL hResultCode AS LONG _
, BYVAL ulFlags AS DWORD _
, BYREF lppMAPIError AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[3] USING IMAPISupport_GetLastError (pIMAPISupport, hResultCode, ulFlags, lppMAPIError) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetMemAllocRoutines

 

FUNCTION IMAPISupport_GetMemAllocRoutines ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lppAllocateBuffer AS DWORD _
, BYREF lppAllocateMore AS DWORD _
, BYREF lppFreeBuffer AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[4] USING IMAPISupport_GetMemAllocRoutines (pIMAPISupport, lppAllocateBuffer, lppAllocateMore, lppFreeBuffer) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Subscribe

 

FUNCTION IMAPISupport_Subscribe ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL lpKey AS DWORD _
, BYVAL ulEventMask AS DWORD _
, BYVAL ulFlags AS DWORD _
, BYVAL lpAdviseSink AS DWORD _
, BYREF lpulConnection AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[5] USING IMAPISupport_Subscribe (pIMAPISupport, lpKey, ulEventMask, ulFlags, lpAdviseSink, lpulConnection) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Unsubscribe

 

FUNCTION IMAPISupport_Unsubscribe ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulConnection AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[6] USING IMAPISupport_Unsubscribe (pIMAPISupport, ulConnection) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Notify

 

FUNCTION IMAPISupport_Notify ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL lpKey AS DWORD _
, BYVAL cNotification AS DWORD _
, BYVAL lpNotifications AS DWORD _
, BYREF lpulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[7] USING IMAPISupport_Notify (pIMAPISupport, lpKey, cNotification, lpNotifications, lpulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

ModifyStatusRow

 

FUNCTION IMAPISupport_ModifyStatusRow ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL cValues AS DWORD _
, BYVAL lpColumnVals AS DWORD _
, BYVAL ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[8] USING IMAPISupport_ModifyStatusRow (pIMAPISupport, cValues, lpColumnVals, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

OpenProfileSection

 

FUNCTION IMAPISupport_OpenProfileSection ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpUid AS GUID _
, BYVAL ulFlags AS DWORD _
, BYREF lppProfileObj AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[9] USING IMAPISupport_OpenProfileSection (pIMAPISupport, lpUid, ulFlags, lppProfileObj) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

RegisterPreProcessor

 

FUNCTION IMAPISupport_RegisterPreprocessor ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpMuid AS GUID _
, BYREF lpszAdrType AS ASCIIZ _
, BYREF lpszDLLName AS ASCIIZ _
, BYREF lpszPreprocess AS ASCIIZ _
, BYREF lpszRemovePreprocessInfo AS ASCIIZ _
, BYVAL ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[10] USING IMAPISupport_RegisterPreprocessor (pIMAPISupport, lpMuid, lpszAdrType, lpszDLLName, lpszPreprocess, lpszRemovePreprocessInfo, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

NewUID

 

FUNCTION IMAPISupport_NewUID ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpMuid AS GUID _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[11] USING IMAPISupport_NewUID (pIMAPISupport, lpMuid) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

MakeInvalid

 

FUNCTION IMAPISupport_MakeInvalid ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYVAL lpObject AS DWORD _
, BYVAL ulRefCount AS DWORD _
, BYVAL cMethods AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[12] USING IMAPISupport_MakeInvalid (pIMAPISupport, ulFlags, lpObject, ulRefCount, cMethods) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

SpoolerYield

 

FUNCTION IMAPISupport_SpoolerYield ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[13] USING IMAPISupport_SpoolerYield (pIMAPISupport, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

SpoolerNotify

 

FUNCTION IMAPISupport_SpoolerNotify ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYVAL lpvData AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[14] USING IMAPISupport_SpoolerNotify (pIMAPISupport, ulFlags, lpvData) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

CreateOneOff

 

FUNCTION IMAPISupport_CreateOneOff ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpszName AS ASCIIZ _
, BYREF lpszAdrType AS ASCIIZ _
, BYREF lpszAddress AS ASCIIZ _
, BYVAL ulFlags AS DWORD _
, BYREF lpcbEntryID AS DWORD _
, BYREF lppEntryID AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[15] USING IMAPISupport_CreateOneOff (pIMAPISupport, lpszName, lpszAdrType, lpszAddress, ulFlags, lpcbEntryID, lppEntryID) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

SetProviderUID

 

FUNCTION IMAPISupport_SetProviderUID ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpProviderID AS GUID _
, BYVAL ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[16] USING IMAPISupport_SetProviderUID (pIMAPISupport, lpProviderID, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

CompareEntryIDs

 

FUNCTION IMAPISupport_CompareEntryIDs ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL cbEntryID1 AS DWORD _
, BYVAL lpEntryID1 AS ENTRYID PTR _
, BYVAL cbEntryID2 AS DWORD _
, BYVAL lpEntryID2 AS ENTRYID PTR _
, BYVAL ulFlags AS DWORD _
, BYREF lpulResult AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[17] USING IMAPISupport_CompareEntryIDs (pIMAPISupport, cbEntryID1, lpEntryID1, cbEntryID2, lpEntryID2, ulFlags, lpulResult) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

OpenTemplateID

 

FUNCTION IMAPISupport_OpenTemplateID ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL cbTemplateID AS GUID _
, BYVAL lpTemplateID AS ENTRYID PTR _
, BYVAL ulTemplateFlags AS DWORD _
, BYVAL lpMAPIPropData AS DWORD _
, BYREF lpInterface AS GUID _
, BYREF lppMAPIPropNew AS DWORD _
, BYVAL lpMAPIPropSibling AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[18] USING IMAPISupport_OpenTemplateID (pIMAPISupport, cbTemplateID, lpTemplateID, ulTemplateFlags, lpMAPIPropData, lpInterface, lppMAPIPropNew, lpMAPIPropSibling) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

OpenEntryID

 

FUNCTION IMAPISupport_OpenEntry ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL cbEntryID AS DWORD _
, BYVAL lpEntryID AS ENTRYID PTR _
, BYREF lpInterface AS GUID _
, BYVAL ulOpenFlags AS DWORD _
, BYREF lpulObjType AS DWORD _
, BYREF lppUnk AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[19] USING IMAPISupport_OpenEntry (pIMAPISupport, cbEntryID, lpEntryID, lpInterface, ulOpenFlags, lpulObjType, lppUnk) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetOneOffTable

 

FUNCTION IMAPISupport_GetOneOffTable ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYREF lppTable AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[20] USING IMAPISupport_GetOneOffTable (pIMAPISupport, ulFlags, lppTable) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Address

 

FUNCTION IMAPISupport_Address ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpulUIParam AS DWORD _
, BYREF lpAdrParms AS ADRPARM _
, BYREF lppAdrList AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[21] USING IMAPISupport_Address (pIMAPISupport, lpulUIParam, lpAdrParms, lppAdrList) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Details

 

FUNCTION IMAPISupport_Details ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpulUIParam AS DWORD _
, BYVAL lpfnDismiss AS DWORD _
, BYVAL lpvDismissContext AS DWORD _
, BYVAL cbEntryID AS DWORD _
, BYVAL lpEntryID AS ENTRYID PTR _
, BYVAL lpfButtonCallback AS DWORD _
, BYVAL lpvButtonContext AS DWORD _
, BYREF lpszButtonText AS ASCIIZ _
, BYVAL ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[22] USING IMAPISupport_Details (pIMAPISupport, lpulUIParam, lpfnDismiss, lpvDismissContext, cbEntryID, lpEntryID, lpfButtonCallback, lpvButtonContext, lpszButtonText, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

NewEntry

 

FUNCTION IMAPISupport_NewEntry ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulUIParam AS DWORD _
, BYVAL ulFlags AS DWORD _
, BYVAL cbEIDContainer AS DWORD _
, BYVAL lpEIDContainer AS ENTRYID PTR _
, BYVAL cbEIDNewEntryTpl AS DWORD _
, BYVAL lpEIDNewEntryTpl AS ENTRYID PTR _
, BYREF lpcbEIDNewEntry AS DWORD _
, BYREF lppEIDNewEntry AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[23] USING IMAPISupport_NewEntry (pIMAPISupport, ulUIParam, ulFlags, cbEIDContainer, lpEIDContainer, cbEIDNewEntryTpl, lpEIDNewEntryTpl, lpcbEIDNewEntry, lppEIDNewEntry) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

DoCOnfigPropsheet

 

FUNCTION IMAPISupport_DoConfigPropsheet ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulUIParam AS DWORD _
, BYVAL ulFlags AS DWORD _
, BYREF lpszTitle AS ASCIIZ _
, BYVAL lpDisplayTable AS DWORD _
, BYVAL lpConfigData AS DWORD _
, BYVAL ulTopPage AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[24] USING IMAPISupport_DoConfigPropsheet (pIMAPISupport, ulUIParam, ulFlags, lpszTitle, lpDisplayTable, lpConfigData, ulTopPage) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

CopyMessages

 

FUNCTION IMAPISupport_CopyMessages ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpSrcInterface AS GUID _
, BYVAL lpSrcFolder AS DWORD _
, BYVAL lpMsgList AS DWORD _
, BYREF lpDestInterface AS GUID _
, BYVAL lpDestFolder AS DWORD _
, BYVAL ulUIParam AS DWORD _
, BYVAL lpProgress AS DWORD _
, BYVAL ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[25] USING IMAPISupport_CopyMessages (pIMAPISupport, lpSrcInterface, lpSrcFolder, lpMsgList, lpDestInterface, lpDestFolder, ulUIParam, lpProgress, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

CopyFolder

 

FUNCTION IMAPISupport_CopyFolder ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpSrcInterface AS GUID _
, BYVAL lpSrcFolder AS DWORD _
, BYVAL cbEntryID AS DWORD _
, BYVAL lpEntryID AS ENTRYID PTR _
, BYREF lpInterface AS GUID _
, BYVAL lpDestFolder AS DWORD _
, BYREF lpszNewFolderName AS ASCIIZ _
, BYVAL ulUIParam AS DWORD _
, BYVAL lpProgress AS DWORD _
, BYVAL ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[26] USING IMAPISupport_CopyFolder (pIMAPISupport, lpSrcInterface, lpSrcFolder, cbEntryID, lpEntryID, lpInterface, lpDestFolder, lpszNewFolderName, ulUIParam, lpProgress, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

DoCopyTo

 

FUNCTION IMAPISupport_DoCopyTo ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpSrcInterface AS GUID _
, BYVAL lpSrcObj AS DWORD _
, BYVAL ciidExclude AS DWORD _
, BYVAL rgiidExclude AS DWORD _
, BYVAL lpExcludeProps AS DWORD _
, BYVAL ulUIParam AS DWORD _
, BYVAL lpProgress AS DWORD _
, BYREF lpDestInterface AS GUID _
, BYVAL lpDestObj AS DWORD _
, BYVAL ulFlags AS DWORD _
, BYREF lppProblems AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[27] USING IMAPISupport_DoCopyTo (pIMAPISupport, lpSrcInterface, lpSrcObj, ciidExclude, rgiidExclude, lpExcludeProps, ulUIParam, lpProgress, lpDestInterface, lpDestObj, ulFlags, lppProblems) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

DoCopyProps

 

FUNCTION IMAPISupport_DoCopyProps ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpSrcInterface AS GUID _
, BYVAL lpSrcObj AS DWORD _
, BYREF lpIncludeProps AS SPropTagArray _
, BYVAL ulUIParam AS DWORD _
, BYVAL lpProgress AS DWORD _
, BYREF lpDestInterface AS GUID _
, BYVAL lpDestObj AS DWORD _
, BYVAL ulFlags AS DWORD _
, BYREF lppProblems AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[28] USING IMAPISupport_DoCopyProps (pIMAPISupport, lpSrcInterface, lpSrcObj, lpIncludeProps, ulUIParam, lpProgress, lpDestInterface, lpDestObj, ulFlags, lppProblems) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

DoProgressDialog

 

FUNCTION IMAPISupport_DoProgressDialog ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulUIParam AS DWORD _
, BYVAL ulFlags AS DWORD _
, BYREF lppProgress AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[29] USING IMAPISupport_DoProgressDialog (pIMAPISupport, ulUIParam, ulFlags, lppProgress) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

ReadReceipt

 

FUNCTION IMAPISupport_ReadReceipt ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYVAL lpReadMessage AS DWORD _
, BYREF lppEmptyMessage AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[30] USING IMAPISupport_ReadReceipt (pIMAPISupport, ulFlags, lpReadMessage, lppEmptyMessage) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

PrepareSubmit

 

FUNCTION IMAPISupport_PrepareSubmit ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL lpMessage AS DWORD _
, BYREF lpulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[31] USING IMAPISupport_PrepareSubmit (pIMAPISupport, lpMessage, lpulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

ExpandRecips

 

FUNCTION IMAPISupport_ExpandRecips ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL lpMessage AS DWORD _
, BYREF lpulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[32] USING IMAPISupport_ExpandRecips (pIMAPISupport, lpMessage, lpulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

DoSentMail

 

FUNCTION IMAPISupport_DoSentMail ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYVAL lpMessage AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[33] USING IMAPISupport_DoSentMail (pIMAPISupport, ulFlags, lpMessage) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

OpenAddressBook

 

FUNCTION IMAPISupport_OpenAddressBook ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF lpInterface AS GUID _
, BYVAL ulFlags AS DWORD _
, BYREF lppAdrBook AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[34] USING IMAPISupport_OpenAddressBook (pIMAPISupport, lpInterface, ulFlags, lppAdrBook) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

CompleteMsg

 

FUNCTION IMAPISupport_CompleteMsg ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYVAL cbEntryID AS DWORD _
, BYVAL lpEntryID AS ENTRYID PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[35] USING IMAPISupport_CompleteMsg (pIMAPISupport, ulFlags, cbEntryID, lpEntryID) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

StoreLogoffTransports

 

FUNCTION IMAPISupport_StoreLogoffTransports ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYREF ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[36] USING IMAPISupport_StoreLogoffTransports (pIMAPISupport, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

StatusRecips

 

FUNCTION IMAPISupport_StatusRecips ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL lpMessage AS DWORD _
, BYVAL lpRecipList AS ADRLIST PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[37] USING IMAPISupport_StatusRecips (pIMAPISupport, lpMessage, lpRecipList) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

WrapStoreEntryID

 

FUNCTION IMAPISupport_WrapStoreEntryID ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL cbOrigEntry AS DWORD _
, BYVAL lpOrigEntry AS ENTRYID PTR _
, BYREF lpcbWrappedEntry AS DWORD _
, BYREF lppWrappedEntry AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[38] USING IMAPISupport_WrapStoreEntryID (pIMAPISupport, cbOrigEntry, lpOrigEntry, lpcbWrappedEntry, lppWrappedEntry) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

ModifyProfile

 

FUNCTION IMAPISupport_ModifyProfile ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[39] USING IMAPISupport_ModifyProfile (pIMAPISupport, ulFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

IStorageFromStream

 

FUNCTION IMAPISupport_IStorageFromStream ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL lpUnkIn AS DWORD _
, BYREF lpInterface AS GUID _
, BYVAL ulFlags AS DWORD _
, BYREF lppStorageOut AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[40] USING IMAPISupport_IStorageFromStream (pIMAPISupport, lpUnkIn, lpInterface, ulFlags, lppStorageOut) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetSvcConfigSupportObj

 

FUNCTION IMAPISupport_GetSvcConfigSupportObj ( _
  BYVAL pIMAPISupport AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYREF lppSvcSupport AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPISupport[41] USING IMAPISupport_GetSvcConfigSupportObj (pIMAPISupport, ulFlags, lppSvcSupport) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 20:16:16 +0200