IMimePropertySet::SetCharset method

Sets the character set of the property set.

Syntax

HRESULT SetCharset(
  [in] HCHARSET      hCharset,
  [in] CSETAPPLYTYPE applytype
);

Parameters

hCharset [in]

Type: HCHARSET

Specifies the handle of the character set.

applytype [in]

Type: CSETAPPLYTYPE

Specifies CSETAPPLYTYPE value that indicates how to apply hCharset to the property set.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an unknown error has occurred.
E_INVALIDARG
Indicates that hCharset is NULL.
MIME_E_INVALID_HANDLE
Indicates that hCharset is an invalid handle.

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
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)