Platform SDK: MAPI

UlPropSize

The UlPropSize function obtains the size of a single property value.

Note  This function may not be supported in future versions of MAPI.

Quick Info

Header file: MAPIUTIL.H
Implemented by: MAPI
Called by: Client applications and service providers

ULONG UlPropSize(
  LPSPropValue lpSPropValue  
);
 

Parameters

lpSPropValue
[in] Pointer to an SPropValue structure defining the property to be measured.

Return Values

S_OK
The call succeeded and has returned the expected value or values.
MAPI_E_CALL_FAILED
An error of unexpected or unknown origin prevented the operation from completing.

Remarks

The UlPropSize function returns the size, in bytes, of the property value for the specified property. It disregards the size of the remainder of the SPropValue structure.

See Also

Properties Functions