Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

HrAddColumns

Office 2010

Last modified: September 12, 2011

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Adds or moves columns to the beginning of an existing table.

Header file:

mapiutil.h

Implemented by:

MAPI

Called by:

Client applications and service providers.

HRESULT HrAddColumns( 
  LPMAPITABLE lptbl, 
  LPSPropTagArray lpproptagColumnsNew, 
  LPALLOCATEBUFFER lpAllocateBuffer, 
  LPFREEBUFFER lpFreeBuffer
);
lptbl

[in] Pointer to the MAPI table affected.

lpproptagColumnsNew

[in] Pointer to an SPropTagArray structure that contains an array of property tags for the properties to be added or moved to the beginning of the table.

lpAllocateBuffer

[in] Pointer to the MAPIAllocateBuffer function. Used to allocate memory.

lpFreeBuffer

[in] Pointer to the MAPIFreeBuffer function. Used to free memory.

S_OK

The call succeeded and the specified columns were moved or added.

The HrAddColumns function is equivalent to using HrAddColumnsEx with lpfnFilterColumns set to NULL.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.