Replies: 2 comments 1 reply
-
There is no CLSID attached to the GraphicsCaptureItem runtime class. WinRT runtime classes are activated using the fully qualified name, so it would use Windows.Graphics.Capture.GraphicsCaputreItem when passed to RoGetActivationFactory or RoActivateInstance. Higher level functionality, including the C# and C++/WinRT projections are built on this. That IID that you listed is for the IGraphicsCaptureItem interface, which should be seen as the primary interface for GraphicsCaptureItem instances. Any static methods would be on the IGraphicsCaptureItemStatics and IGraphicsCaptureItemStatics2 interfaces. |
Beta Was this translation helpful? Give feedback.
-
|
under 'shared' and 'um' in the SDK mostly, also in regedit under 'HKEY_CLASSES_ROOT\CLSID' and 'HKEY_CLASSES_ROOT\Interface'. its tedious they should have a tool. I may make one who knows |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For this interface: https://learn.microsoft.com/en-us/windows/win32/api/windows.graphics.capture.interop/nn-windows-graphics-capture-interop-igraphicscaptureiteminterop and https://learn.microsoft.com/en-us/uwp/api/windows.graphics.capture.graphicscaptureitem?view=winrt-22621
I know there's a project use it:
https://github.com/robmikh/ManagedScreenshotDemo/blob/9a47612e1c3a9f5f70d142c588a23111930eaddb/Robmikh.WindowsRuntimeHelpers/CaptureHelper.cs#L11
But where to find the
79C3F95B-31F7-4EC2-A464-632EF5D30760?Beta Was this translation helpful? Give feedback.
All reactions