KSPROPERTY_PREFERRED_CAPTURE_SURFACE
The KSPROPERTY_PREFERRED_CAPTURE_SURFACE property returns the capture driver's preferred memory target for capture, either VRAM or a type of system memory.
To use VRAM transport, a capture minidriver must support this property.
Usage Summary Table
Get | Set | Target | Property descriptor type | Property value type |
---|---|---|---|---|
Yes |
No |
Pin |
Return Value
A KSPROPERTY_PREFERRED_CAPTURE_SURFACE returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error code.
Remarks
Zero is an invalid value for CAPTURE_MEMORY_ALLOCATION_FLAGS.
Requirements
Header |
Ksmedia.h (include Ksmedia.h) |
See also
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