Share via


MimeOleCreateSecurity function

Do not use. On success, creates a new Secure/Multipurpose Internet Mail Extensions (S/MIME) object.

Syntax

HRESULT MimeOleCreateSecurity(
  _Out_ IMimeSecurity **ppSecurity
);

Parameters

ppSecurity [out]

Type: IMimeSecurity**

Receives pointer to address of new S/MIME object.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pointer argument is NULL.
E_OUTOFMEMORY
Indicates that memory allocation failed.

Remarks

Note

User is responsible for freeing S/MIME object.

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)