UlPropSize(3w)

UlPropSize3w

Usage

ULONG UlPropSize
(
LPSPropValue lpProp
)

Overview

Determine the size of a property in bytes.

Params

lpProp [In] Property to determine the size of.

Returns

Success: The size of the value in lpProp.

Failure: 0, if a multi-value (array) property is invalid or the type of lpProp is unknown.

Notes

- The size returned does not include the size of the SPropValue struct or the size of the array of pointers for multi-valued properties that contain pointers (such as PT_MV_STRING8 or PT-MV_UNICODE).

- MSDN incorrectly states that this function returns MAPI_E_CALL_FAILED if lpProp is invalid. In reality no checking is performed and this function will crash if passed an invalid property, or return 0 if the property type is PT_OBJECT or is unknown.

Implementation

Declared in "mapiutil.h".

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

Debug channel "mapi".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.