Share via


IixssoUtil::URLEncode method

[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]

Encodes a string using URL encoding using the specified code page.

Syntax

HRESULT URLEncode(
  [in]          BSTR pwszString,
  [in]          LONG codepage,
  [out, retval] BSTR *ppwszOutput
);

Parameters

pwszString [in]

The string to be encoded.

codepage [in]

The code page to use for encoding this string.

ppwszOutput [out, retval]

The resulting URL encoded string.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The URLEncode method is used to work around difficulties with the proper handling of code pages in previous versions of Active Server Pages (ASP).

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008 R2
DLL
Ixsso.dll

See also

IixssoUtil