IUnknown_GetWindow.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

IUnknown_GetWindow (SHLWAPI.172)

SYNOPSIS

HRESULT IUnknown_GetWindow
 (
  IUnknown* lpUnknown,
  HWND*     lphWnd
 )

DESCRIPTION

Get the window handle of an object.

PARAMS

lpUnknown [In] Object to get the window handle of.

lphWnd [Out] Destination for window handle.

RETURNS

Success: S_OK. lphWnd contains the objects window handle.

Failure: An HRESULT error code.

NOTES

lpUnknown is expected to support one of the following interfaces: IOleWindow(), IInternetSecurityMgrSite(3w), or IShellView(3w).

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c".

Debug channel "shell".