How to create a valid PrintSupportSettingUISession object?

Woods Sea 5 Reputation points
2024-01-04T06:42:31.4933333+00:00

I am working in my Print Support Application program according to https://learn.microsoft.com/en-us/windows-hardware/drivers/devapps/print-support-app-design-guide.

But it doesn't work becasuse OnActivated(IActivatedEventArgs args) function is not called. I guess PrintSupportSettingsUISession maybe not created correctly. Certainly I defined an extension point according to design guide by keywork <printsupport:Extension Category="windows.printSupportSettingsUI" in Package.appxmanifest file.

When I try to find out why, I note that uap4:Extension is required in Remarks section in this paper:

https://learn.microsoft.com/en-us/uwp/api/windows.graphics.printing.printsupport.printsupportsettingsuisession?view=winrt-22621

Is it not a missing? It seems uap4:Extension has not datatype of windows.printSupportSettingsUI in its Category.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,993 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.