IGraphicsCaptureItemInterop::CreateForMonitor method (windows.graphics.capture.interop.h)
Targets a monitor(s) for the creation of a graphics capture item.
Syntax
HRESULT CreateForMonitor(
HMONITOR monitor,
REFIID riid,
void **result
);
Parameters
monitor
Type: HMONITOR
The monitor handle that represents the monitor to capture.
riid
Type: REFIID
GUID for the type returned. Supported value: GraphicsCaptureItem.
result
Type: void**
Out pointer for the object to receive.
Return value
Type: HRESULT
The return error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Window 10 Version 1903 (Build 18362) |
Minimum supported server | Window 10 Version 1903 (Build 18362) |
Header | windows.graphics.capture.interop.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for