Export (0) Print
Expand All
Expand Minimize

MimeOleSetPropA Function

Do not use. Sets the value of the specified property.

Syntax

HRESULT MimeOleSetPropA(
  __in  IMimePropertySet *pPropertyset,
  __in  LPCSTR pszName,
  __in  DWORD dwFlags,
  __in  LPCSTR pszData
);

Parameters

pPropertyset [in]

Type: IMimePropertySet*

Specifies a pointer to an IMimePropertySet object.

pszName [in]

Type: LPCSTR

Specifies the property name or ID.

dwFlags [in]

Type: DWORD

Specifies a bitmask that affects how to set the property value. See SetProp.

pszData [in]

Type: LPCSTR

Specifies the value to set for the property.

Return Value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

Indicates success.

E_FAIL

Indicates that an unknown error has occurred.

E_OUTOFMEMORY

Indicates that an attempt to allocate memory failed.

E_INVALIDARG

Indicates that a pointer argument is NULL. See SetProp.

MIME_E_READ_ONLY

Indicates that the property is read-only, that is, the property has the MPF_READONLY flag set in the property schema.

MIME_E_INVALID_HEADER_NAME

Indicates that pszName is a new property that contains invalid characters.

MIME_E_NOT_FOUND

Indicates that pszName does not specify an existing property.

 

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

MimeOleSetPropW

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show:
© 2015 Microsoft