Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MimeOleGetPropW
Collapse the table of content
Expand the table of content

MimeOleGetPropW Function

Do not use. Gets the Unicode value of the specified property.

Syntax

HRESULT MimeOleGetPropW(
  __in   IMimePropertySet *pPropertyset,
  __in   LPCSTR pszName,
  __in   DWORD dwFlags,
  __out  LPWSTR *ppszData
);

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

ppszData [out]

Type: LPWSTR*

Receives the value associated with the property. Note: this variable must have been initialized to point to a valid LPWSTR before this call and user is responsible for freeing what is pointed to by this parameter.

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_INVALIDARG

Indicates that a pointer argument is NULL.

MIME_E_NOT_FOUND

Indicates that pszName does not specify an existing property.

MIME_E_NO_DATA

Indicates that no data is associated with the property.

E_OUTOFMEMORY

Indicates that an attempt to allocate memory failed.

MIME_E_INVALID_HEADER_NAME

Indicates that pszName is invalid according to the RFC 822 specification.

 

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)

Unicode and ANSI names

MimeOleGetPropW (Unicode)

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show:
© 2015 Microsoft