SystemButtonEventController 클래스

정의

하드웨어 시스템 단추(예: 함수 단추)에서 생성된 이벤트를 처리하는 기능을 사용하도록 설정합니다.

public ref class SystemButtonEventController sealed : AttachableInputObject
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SystemButtonEventController final : AttachableInputObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SystemButtonEventController : AttachableInputObject
Public NotInheritable Class SystemButtonEventController
Inherits AttachableInputObject
상속
Object Platform::Object IInspectable AttachableInputObject SystemButtonEventController
특성

Windows 요구 사항

디바이스 패밀리
Windows 10, version 2004 (10.0.19041.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v10.0에서 도입되었습니다.)

설명

이 API는 하드웨어 시스템 단추에서 이벤트를 가로채기 위한 낮은 수준의 후크로 접근성 도구에서 사용하기 위한 것입니다.

SystemButtonEventController 이벤트 등록은 시스템 전체에 적용되며 선착순으로 적용됩니다. 애플리케이션 또는 서비스가 SystemButtonEventController 이벤트 처리 속성을 true로 설정하는 경우 동일한 이벤트 알림에 대해 해당 앱 또는 서비스 다음에 등록된 애플리케이션 또는 서비스는 알림을 받지 않습니다.

메서드

Close()

AttachableInputObject instance 종료합니다.

(다음에서 상속됨 AttachableInputObject)
CreateForDispatcherQueue(DispatcherQueue)

지정된 디스패처 큐에 SystemButtonEventController 개체를 만듭니다.

모든 이벤트는 큐 스레드에서 발생합니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

(다음에서 상속됨 AttachableInputObject)

이벤트

SystemFunctionButtonPressed

Fn 하드웨어 시스템(함수 시프트라고도 함) 단추를 누를 때 발생합니다.

SystemFunctionButtonReleased

현재 누르고 있는 Fn 하드웨어 시스템(함수 시프트라고도 함) 단추가 해제될 때 발생합니다.

SystemFunctionLockChanged

Fn 하드웨어 시스템(함수 Shift로도 알려짐) 단추 잠금의 상태가 변경되면 발생합니다.

SystemFunctionLockIndicatorChanged

Fn 하드웨어 시스템(함수 시프트로도 알려짐) 단추 잠금에 대한 시각적 표시기의 상태가 변경되면 발생합니다.

적용 대상

추가 정보