Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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