HrMAPIGetPropString

The HrMAPIGetPropString function obtains the string value of a property from a property tag.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrMAPIGetPropString(
  LPMAPIPROP lpObj, 
  ULONG ulPropTag,  
  ULONG * lpcbProp, 
  LPVOID * lppvProp 
);
 

Parameters

lpObj
Input parameter. Points to a MAPI IMAPIProp interface containing the object.
ulPropTag
Input parameter. Property tag.
lpcbProp
Output parameter. Number of bytes in property.
lppvProp
Output parameter. Points to property address variable.

Return Values

See Return Values.

Remarks

Use this function when the property type is PT_STRING8.

For more information on this function, see the HrMAPIGetPropString function in IPROP.C under the EDKMAPI code sample in the Code Samples folder.

For information on the IMAPIProp interface, see the MAPI Programmer's Reference.

See Also

HrMAPIGetPropBinary, HrMAPIGetPropBoolean, HrMAPIGetPropLong, HrMAPIGetPropSystime