Reference

IUnknown_GetWindow(3w)

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

Declared in "shlwapi.h".

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

Debug channel "shell".

History