MimeOleFileTimeToInetDate function

Do not use. Creates an internet date from a specified file time. Output is in RFC822 format: "ddd, dd mmm yyyy hh:mm:ss +/- hhmm\0", such as "Tue, 21 Jan 1997 18:25:40 GMT".

Syntax

HRESULT MimeOleFileTimeToInetDate(
  _In_    LPFILETIME pft,
  _Inout_ LPSTR      pszDate,
  _In_    ULONG      cchMax
);

Parameters

pft [in]

Type: LPFILETIME

Specifies a FILETIME structure.

pszDate [in, out]

Type: LPSTR

Specifies a null-terminated string to receive the Internet date.

cchMax [in]

Type: ULONG

Specifies the buffer size of pszDate.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates pszDate or pft is NULL.
MIME_E_BUFFER_TOO_SMALL
Indicates buffer too small.

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)