Reference

CreateIProp(3w)

NAME

CreateIProp (MAPI32.60)

SYNOPSIS

SCODE CreateIProp
(
LPCIID iid,
ALLOCATEBUFFER* lpAlloc,
ALLOCATEMORE* lpMore,
FREEBUFFER* lpFree,
LPVOID lpReserved,
LPPROPDATA* lppPropData
)

DESCRIPTION

Create an IPropData object.

PARAMS

iid [In] GUID of the object to create. Use &IID_IMAPIPropData or NULL.

lpAlloc [In] Memory allocation function. Use MAPIAllocateBuffer(3w).

lpMore [In] Linked memory allocation function. Use MAPIAllocateMore(3w).

lpFree [In] Memory free function. Use MAPIFreeBuffer(3w).

lpReserved [In] Reserved, set to NULL.

lppPropData [Out] Destination for created IPropData object.

RETURNS

Success: S_OK. *lppPropData contains the newly created object.

Failure: MAPI_E_INTERFACE_NOT_SUPPORTED, if iid is non-NULL and not supported, MAPI_E_INVALID_PARAMETER, if any parameter is invalid

IMPLEMENTATION

Declared in "mapiutil.h".

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

Debug channel "mapi".

History