Home COM GDI+ WebBrowser Data Access

IMAPIFormContainer Interface

 

IID_IMAPIFormContainer

{0002032E-0000-0000-C000-000000000046}

 

 

The IMAPIFormContainer interface manages forms within form libraries. This interface is used to create application-specific form libraries.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IMAPIFormContainer Methods

Description

InstallForm

Installs a form into a form container.

RemoveForm

Removes a particular form from a form container.

ResolveMessageClass

Resolves a message class to its form within a form container and returns a form information object for that form.

ResolveMultipleMessageClasses

Resolves a group of message classes to their forms within a form container and returns an array of form information objects for those forms.

CalFromPropSet

Returns an array of the properties used by all forms installed within a form container.

GetDisplay

Returns the display name of a form container.

 

InstallForm

 

FUNCTION IMAPIFormContainer_InstallForm  ( _
  BYVAL pIMAPIFormContainer AS DWORD PTR _
, BYVAL ulUIParam AS DWORD _
, BYVAL ulFlags AS DWORD _
, BYREF szCfgPathName AS ASCIIZ _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPIFormContainer[3] USING IMAPIFormContainer_InstallForm (pIMAPIFormContainer, ulUIParam, ulFlags, szCfgPathName) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

RemoveForm

 

FUNCTION IMAPIFormContainer_RemoveForm ( _
  BYVAL pIMAPIFormContainer AS DWORD PTR _
, BYREF szMessageClass AS ASCIIZ _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPIFormContainer[4] USING IMAPIFormContainer_RemoveForm (pIMAPIFormContainer, szMessageClass) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

ResolveMessageClass

 

FUNCTION IMAPIFormContainer_ResolveMessageClass ( _
  BYVAL pIMAPIFormContainer AS DWORD PTR _
, BYREF szMessageClass AS ASCIIZ _
, BYVAL ulFlags AS DWORD _
, BYREF ppforminfo AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPIFormContainer[5] USING IMAPIFormContainer_ResolveMessageClass (pIMAPIFormContainer, szMessageClass, ulFlags, ppforminfo) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

ResolveMultipleMessageClasses

 

FUNCTION IMAPIFormContainer_ResolveMultipleMessageClasses ( _
  BYVAL pIMAPIFormContainer AS DWORD PTR _
, BYVAL pMsgClassArray AS DWORD _
, BYVAL ulFlags AS DWORD _
, BYREF ppfrminfoarray AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPIFormContainer[6] USING IMAPIFormContainer_ResolveMultipleMessageClasses (pIMAPIFormContainer, pMsgClassArray, ulFlags, ppfrminfoarray) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

CalcFromPropSet

 

FUNCTION IMAPIFormContainer_CalcFormPropSet ( _
  BYVAL pIMAPIFormContainer AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYREF ppResults AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPIFormContainer[7] USING IMAPIFormContainer_CalcFormPropSet (pIMAPIFormContainer, ulFlags, ppResults) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

GetDisplay

 

FUNCTION IMAPIFormContainer_GetDisplay ( _
  BYVAL pIMAPIFormContainer AS DWORD PTR _
, BYVAL ulFlags AS DWORD _
, BYREF pszDisplayName AS ASCIIZ _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pIMAPIFormContainer[8] USING IMAPIFormContainer_GetDisplay (pIMAPIFormContainer, ulFlags, pszDisplayName) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

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