Home > Software engineering >  How to know which process the current preview window shows the window?
How to know which process the current preview window shows the window?

Time:09-18

Write a program, FindWindow (" LivePreview ", NULL); If found, the think there's a program is in preview mode, the following graph (notepad) :

The question is, how did you know that program has a preview window appears, which process the currently displayed in the preview window, how can I get to the name of this process?

CodePudding user response:

GetWindowThreadProcessId
PSAPI get used PID


  • Related