Skip to content

Commit b9ac912

Browse files
Update corewindow_getkeystate_1676715341.md
1 parent ed4e359 commit b9ac912

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

windows.ui.core/corewindow_getkeystate_1676715341.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,18 @@ The virtual key for which state is returned.
2020
The flags indicating the current state of the supplied virtual key when the input event fired.
2121

2222
> [!NOTE]
23-
> All keys support the **Locked** state (not just the standard Caps Lock and Num Lock keys).
24-
25-
> [!NOTE]
26-
> For WinUI 3 apps, this method will return null. Use [**InputKeyboardSource.GetKeyStateForCurrentThread**](/windows/windows-app-sdk/api/winrt/microsoft.ui.input.inputkeyboardsource.getkeystateforcurrentthread) instead. See [Windows Runtime APIs not supported in desktop apps](/windows/apps/desktop/modernize/desktop-to-uwp-supported-api).
23+
> For WinUI 3 apps, this method returns null. Use [**Microsoft.UI.Input.InputKeyboardSource.GetKeyStateForCurrentThread**](/windows/windows-app-sdk/api/winrt/microsoft.ui.input.inputkeyboardsource.getkeystateforcurrentthread) instead.
24+
>
25+
> See [Windows Runtime APIs not supported in desktop apps](/windows/apps/desktop/modernize/desktop-to-uwp-supported-api).
2726
2827
## -remarks
2928

29+
All keys support the **Locked** state (not just the standard Caps Lock and Num Lock keys).
30+
3031
## -examples
3132

3233
## -see-also
3334

3435
* [CoreVirtualKeyStates](corevirtualkeystates.md)
3536
* [GetAsyncKeyState](corewindow_getasynckeystate_1621551046.md)
36-
* [InputKeyboardSource.GetKeyStateForCurrentThread](/windows/windows-app-sdk/api/winrt/microsoft.ui.input.inputkeyboardsource.getkeystateforcurrentthread)
37+
* [InputKeyboardSource.GetKeyStateForCurrentThread](/windows/windows-app-sdk/api/winrt/microsoft.ui.input.inputkeyboardsource.getkeystateforcurrentthread)

0 commit comments

Comments
 (0)