Поделиться через


IBinding::GetBindResult method

Gets the protocol-specific outcome of a bind operation.

Syntax

HRESULT GetBindResult(
  [out]     CLSID    *pclsidProtocol,
  [out]     DWORD    *pdwResult,
  [out]     LPOLESTR *pszResult,
  [in, out] DWORD    *pdwReserved
);

Parameters

  • pclsidProtocol [out]
    A pointer to the CLSID variable for the protocol used.

  • pdwResult [out]
    A pointer to an unsigned long integer variable that contains the protocol-specific bind result string.

  • pszResult [out]
    A pointer to the string variable that contains the protocol-specific bind result.

  • pdwReserved [in, out]
    Reserved. Must be set to 0.

Return value

Returns S_OK if successful, or E_INVALIDARG if one of the parameters is not valid.

Remarks

This method typically is called by the client of an asynchronous moniker when the client's OnStopBinding method is called.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IBinding