Are there any support plans for Windows 11 UWP Apps?

c++ / delphi package - dll injection and api hooking
Post Reply
kimjw0820
Posts: 35
Joined: Fri Sep 11, 2015 1:54 am

Are there any support plans for Windows 11 UWP Apps?

Post by kimjw0820 »

hi madshi.
Are there any support plans for Windows 11 UWP Apps?
We controlled win32 snippingtool.exe, but UWP App snippingTool.exe is not injected and cannot be controlled.

C:\Program Files\WindowsApps\Microsoft.ScreenSketch_11.2303.17.0_x64__8wekyb3d8bbwe\SnippingTool\SnippingTool.exe
kimjw0820
Posts: 35
Joined: Fri Sep 11, 2015 1:54 am

Re: Are there any support plans for Windows 11 UWP Apps?

Post by kimjw0820 »

The problem is caused by not specifying an option flag.
Setting the INJECT_METRO_APPS option worked normally.
madshi
Site Admin
Posts: 10766
Joined: Sun Mar 21, 2004 5:25 pm

Re: Are there any support plans for Windows 11 UWP Apps?

Post by madshi »

Just to be sure: The INJECT_METRO_APPS flag solved the issue for you?

(Your hook dll also needs to have "ALL APPLICATION PACKAGES" NTFS rights.)
iconic
Site Admin
Posts: 1068
Joined: Wed Jun 08, 2005 5:08 am

Re: Are there any support plans for Windows 11 UWP Apps?

Post by iconic »

Yes, in order to inject into UWP/Metro apps you must include that flag, it's not included automatically. Glad you were able to figure it out and have it working. Also, just a note, as Madshi said your DLL file will need the security permissions "ALL APPLICATION PACKAGES" and on newer OSes "ALL RESTRICTED APPLICATION PACKAGES", too. If your DLL is placed in a directory such as Windows, System32, Program Files etc. then they'll be automatically assigned to the file by Windows.

--Iconic
Post Reply