Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 1.89 KB

imapisupport-getmemallocroutines.md

File metadata and controls

69 lines (41 loc) · 1.89 KB
title manager ms.date ms.audience ms.topic ms.service ms.localizationpriority api_name api_type ms.assetid
IMAPISupportGetMemAllocRoutines
lindalu
11/16/2014
Developer
reference
office-online-server
medium
IMAPISupport.GetMemAllocRoutines
COM
52d45876-367b-42da-b99a-29cdb71fa5a9

IMAPISupport::GetMemAllocRoutines

Applies to: Outlook 2013 | Outlook 2016

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

HRESULT GetMemAllocRoutines(
  LPALLOCATEBUFFER FAR * lppAllocateBuffer,
  LPALLOCATEMORE FAR * lppAllocateMore,
  LPFREEBUFFER FAR * lppFreeBuffer
);

Parameters

lppAllocateBuffer

[out] A pointer to a pointer to the MAPIAllocateBuffer function. MAPIAllocateBuffer allocates memory.

lppAllocateMore

[out] A pointer to a pointer to the MAPIAllocateMore function. MAPIAllocateMore allocates additional memory for memory that was originally allocated by using MAPIAllocateBuffer.

lppFreeBuffer

[out] A pointer to a pointer to the MAPIFreeBuffer function. MAPIFreeBuffer frees memory.

Return value

S_OK

The function addresses were successfully returned.

Remarks

The IMAPISupport::GetMemAllocRoutines method is implemented for all support objects. Service providers call GetMemAllocRoutines to get the addresses of the three memory allocation functions that are passed to their initialization function ( ABProviderInit, MSProviderInit, or XPProviderInit).

See also

MAPIAllocateBuffer

MAPIAllocateMore

MAPIFreeBuffer

IMAPISupport : IUnknown