共用方式為


IInternetBindInfo::GetBindString

Send Feedback

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. See the BINDSTRING enumeration for more details.
  • 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 Values

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

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: urlmon.h
Library: urlmon.lib

See Also

IInternetBindInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.