Share via


MimeOleGenerateCID function

Do not use. Creates a content ID as a string.

Syntax

HRESULT MimeOleGenerateCID(
  _Inout_ LPSTR   pszCID,
  _In_    ULONG   cchMax,
  _In_    boolean fAbsolute
);

Parameters

pszCID [in, out]

Type: LPSTR

Specifies address of string into which content ID is saved. If absolute, then prepend "CID:" to the content ID.

cchMax [in]

Type: ULONG

Specifies the output buffer size.

fAbsolute [in]

Type: boolean

Specifies whether returned pszCID is absolute or relative.

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.

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)