Share via


MimeOleInetDateToFileTime function

Do not use. On success, creates a file time from a specified Internet date. Input is in RFC822 format: "ddd, dd mmm yyyy hh:mm:ss +/- hhmm\0", such as "Tue, 21 Jan 1997 18:25:40 GMT". On failure, created file time defaults to current system time.

Syntax

HRESULT MimeOleInetDateToFileTime(
  _In_  LPCSTR     pszDate,
  _Out_ LPFILETIME pft
);

Parameters

pszDate [in]

Type: LPCSTR

Specifies a null-terminated string containing the Internet date.

pft [out]

Type: LPFILETIME

Returns a FILETIME structure containing the file time.

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.

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)