MimeOleGetBodyPropA Function

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

Syntax

HRESULT MimeOleGetBodyPropA(
  __in   IMimeMessageTree *pTree,
  __in   HBODY hBody,
  __in   LPCSTR pszName,
  __in   DWORD dwFlags,
  __out  LPSTR *ppszData
);

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 to get the property value. See GetBodyProp.

ppszData [out]

Type: LPSTR*

Returns address of string into which property value is saved. Note: this variable must have been initialized to point to a valid LPSTR before this call and user is responsible for freeing LPSTR.

Return Value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

Indicates success.

E_INVALIDARG

Indicates that pTree is NULL.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Outlook Express 6.0

Header

Mimeole.h

Library

Inetcomm.lib

DLL

Inetcomm.dll (version 6.0 or later)

See Also

MimeOleGetBodyPropW

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show: