ICoreWindowInterop::get_WindowHandle method (corewindow.h)

Obtains the handle (HWND) to the CoreWindow for an app.

This property is read-only.

Syntax

HRESULT get_WindowHandle(
  HWND *hwnd
);

Parameters

hwnd

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header corewindow.h

See also

ICoreWindowInterop