Delen via


IUriBuilder::GetSchemeName method

Retrieves the value of the protocol scheme name.

Syntax

HRESULT GetSchemeName(
  [out] DWORD   *pcchSchemeName,
  [out] LPCWSTR *ppwzSchemeName
);

Parameters

  • pcchSchemeName [out]
    Address of a variable of type DWORD that receives the length of the string returned in ppwzSchemeName.

  • ppwzSchemeName [out]
    Address of a string variable that receives the current value.

Return value

Returns S_OK if sucessful, or S_FALSE if the property has not been set.

Remarks

GetSchemeName was introduced in Windows Internet Explorer 7.

The calling context must not free the returned pointer.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IUriBuilder