Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How could win32 packaged applications use custom capability APIs #2484

Open
awrff opened this issue Nov 29, 2024 · 1 comment
Open

How could win32 packaged applications use custom capability APIs #2484

awrff opened this issue Nov 29, 2024 · 1 comment
Assignees
Labels
Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control.

Comments

@awrff
Copy link

awrff commented Nov 29, 2024

Hi, team

I run ESim APIs to fetch ESim id on Windows devices and it works in UWP applications.
Due to my application framework restrictions, I have to use this api in a Win32 packaged application. Other APIs with device capability or restrict capability could run normally but this custom API failed.
I want to know why this api failed and if this is a bug. Because other APIs also require capability declaration in UWP yet they could work in Win32 applications.

details:
The api failed on ESimManager.TryCreateESimWatcher(), which always reutrned null.
The doc says it should return A new instance of the ESimWatcher class, or null if the caller's user security identifier (SID) is not authorized by the Windows service that handles eSIM-related operation requests.
I'm confused with this SID decription. How does it work in custom capability funtions? Why other APIs don't require this.

@issues-automation issues-automation bot added the Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control. label Nov 29, 2024
@stevewhims
Copy link
Member

Thanks, @awrff, I'll investigate this issue with the product team.

-Steve

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Pri3 Topic is in the bottom 50% of page views for the repo or was not created via Feedback control.
Projects
None yet
Development

No branches or pull requests

2 participants