Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Retrieves the window handle (HWND) of the window represented by the object that implements IWindowNative.
For more info, and code examples, see Retrieve a window handle (HWND).
Syntax
HRESULT get_WindowHandle(
HWND *hWnd
);
Parameters
hWnd
The window handle (HWND).
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1809 (with Windows App SDK 0.5 or later) |
| Header | microsoft.ui.xaml.window.h |