MimeOleCombineURL function

Do not use. On success, combines base and relative URL.

Syntax

HRESULT MimeOleCombineURL(
  _In_  LPCSTR pszBase,
  _In_  ULONG  cchBase,
  _In_  LPCSTR pszURL,
  _In_  ULONG  cchURL,
  _In_  BOOL   fUnEscape,
  _Out_ LPSTR  *ppszAbsolute
);

Parameters

pszBase [in]

Type: LPCSTR

Specifies base URL.

cchBase [in]

Type: ULONG

Specifies length of pszBase.

pszURL [in]

Type: LPCSTR

Specifies relative URL.

cchURL [in]

Type: ULONG

Specifies length of pszURL.

fUnEscape [in]

Type: BOOL

Specifies how to handle illegal characters within URL. See MimeOleUnEscapeStringInPlace.

ppszAbsolute [out]

Type: LPSTR*

Returns pointer to combined URL. Note: LPSTR needs to have been valid prior to call and user is responsible for freeing what is pointed to by this parameter.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that an incoming pointer parameter 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)