Compartilhar via


IHomePageSetting::IsHomePage method

Indicates whether the user's home page is set to a specific URL

 

Syntax

HRESULT IsHomePage(
  [in]      LPCWSTR Uri,
  [in, out] BOOL    *isDefault
);

Parameters

  • Uri [in]
    The URL to compare to the user's current setting.Must be a value URL.

  • isDefault [in, out]
    TRUE is the user's home page matches the input URL; FALSE otherwise. Must not be NULL.

Return value

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

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2012 R2

Product

IE11

Header

Homepagesetting.h

IDL

Homepagesetting.idl

DLL

Ieframe.dll

See also

IHomePageSetting

IHomePageSetting::SetHomePage

IHomePageSetting::SetHomePageToBrowserDefault