Using RegisterHotKey in a WinUI 3 packaged app that declares runFullTrust can potentially pass Microsoft Store certification, but there are important considerations to keep in mind. The Microsoft Store has specific policies regarding the use of APIs and features that could affect user experience and security.
- Global Hotkeys: While using global hotkeys is technically feasible, you should ensure that your implementation does not interfere with the normal operation of the operating system or other applications. This includes avoiding conflicts with existing shortcuts and ensuring that the hotkeys do not lead to a poor user experience.
- Microsoft Store Policies: You must comply with the Microsoft Store Policies, which include requirements for technical compliance, security, content, and legal aspects. Violations of these policies can lead to failed submissions or removal from the Store. It is crucial to review the complete version of the Store Policies to ensure your app meets all necessary criteria.
- Testing and Compliance: Before submitting your app, thoroughly test the functionality of the hotkeys to ensure they work as intended without causing issues. Additionally, consider how the use of
runFullTrustmight impact your app's certification, as this setting can have implications on the app's behavior and permissions.
For more detailed guidance, you may want to refer to the official Microsoft documentation regarding app certification and the specific policies that apply to your app type.
References: