Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method retrieves the strings needed by the protocol for its operation.

Syntax

HRESULT GetBindString(
  ULONG 
ulStringType,
  LPOLESTR* 
ppwzStr,
  ULONG 
cEl,
  ULONG* 
pcElFetched
);

Parameters

ulStringType

[in] Unsigned long integer value that indicates the type of string or strings that should be returned. This can be one of the BINDSTRING values.

ppwzStr

[in, out] Address of an array of strings.

cEl

[in] Unsigned long integer value that indicates the number of elements in the array provided.

pcElFetched

[in, out] Address of an unsigned long integer value that indicates the number of elements in the array that are filled.

Return Value

Returns S_OK if successful or an error value otherwise.

Remarks

This method is used if the protocol requires any additional information, such as a user name or password needed to access a URL.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later