Hello,
my service runs under the SYSTEM account. From time to time, I would like the service to display some GUI to the user. I thought that probably the best solution for me would be that the service creates a new process that would display the GUI, and communicate with the service.
The problem is, how to decet which desktop is currently displayed to the user (I do not expect users connected remotely in this scenario). I hoped that OpenInputDesktop function would provide me with necessary infomration, howerver, the function seems to work different than I expected.
Is there a way how to create a new process the GUI of which will be displayed on a desktop currently visible to the user?
my service runs under the SYSTEM account. From time to time, I would like the service to display some GUI to the user. I thought that probably the best solution for me would be that the service creates a new process that would display the GUI, and communicate with the service.
The problem is, how to decet which desktop is currently displayed to the user (I do not expect users connected remotely in this scenario). I hoped that OpenInputDesktop function would provide me with necessary infomration, howerver, the function seems to work different than I expected.
Is there a way how to create a new process the GUI of which will be displayed on a desktop currently visible to the user?