Reference

IPropData_GetProps(3w)

NAME

IPropData_GetProps (MAPI32.@)

SYNOPSIS

static HRESULT IPropData_GetProps
(
LPPROPDATA iface,
LPSPropTagArray lpTags,
ULONG ulFlags,
ULONG* lpCount,
LPSPropValue* lppProps
)

DESCRIPTION

Get property values from an IMAPIProp object.

PARAMS

iface [In] IMAPIProp object to get the property values from.

lpTags [In] Property tage of property values to be retrieved.

ulFlags [In] Return 0=Ascii MAPI_UNICODE=Unicode strings for unspecified types.

lpCount [Out] Destination for number of properties returned.

lppProps [Out] Destination for returned property values.

RETURNS

Success: S_OK. *lppProps and *lpCount are updated.

Failure: MAPI_E_INVALID_PARAMETER, if any parameter is invalid. MAPI_E_NOT_ENOUGH_MEMORY, if memory allocation fails, or MAPI_W_ERRORS_RETURNED if not all properties were retrieved successfully.

NOTES

- If MAPI_W_ERRORS_RETURNED is returned, any properties that could not be retrieved from iface are present in lppProps with their type changed to PT_ERROR and Id unchanged.

IMPLEMENTATION

Declared in "mapiutil.h".

Implemented in "dlls/mapi32/prop.c".

Debug channel "mapi".

History