CoreVirtualKeyStates Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies flags for indicating the possible states of a virtual key.
This enumeration supports a bitwise combination of its member values.
public enum class CoreVirtualKeyStates
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CoreVirtualKeyStates
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CoreVirtualKeyStates
Public Enum CoreVirtualKeyStates
- Inheritance
-
CoreVirtualKeyStates
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Down | 1 | The key is pressed down for the input event. |
Locked | 2 | The key is in a toggled or modified state (for example, Caps Lock) for the input event.
|
None | 0 | The key is up or in no specific state. |
Applies to
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla