MimeOleSetBodyPropA function

Do not use. Sets the value of a property for a specified body.

Syntax

HRESULT MimeOleSetBodyPropA(
  _In_ IMimeMessageTree *pTree,
  _In_ HBODY            hBody,
  _In_ LPCSTR           pszName,
  _In_ DWORD            dwFlags,
  _In_ LPCSTR           pszData
);

Parameters

pTree [in]

Type: IMimeMessageTree*

Specifies a pointer to the IMimeMessageTree object.

hBody [in]

Type: HBODY

Specifies the handle of the body.

pszName [in]

Type: LPCSTR

Specifies the property name or ID.

dwFlags [in]

Type: DWORD

Specifies a bitmask that affects how the property value is stored. See SetBodyProp.

pszData [in]

Type: LPCSTR

Specifies the value to set for the property.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pTree is NULL.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Mimeole.h
Library
Inetcomm.lib
DLL
Inetcomm.dll (version 6.0 or later)

See also

MimeOleSetBodyPropW