KSPROPERTY_CURRENT_CAPTURE_SURFACE
The KSPROPERTY_CURRENT_CAPTURE_SURFACE property gets or sets the type of capture memory used by a given pin.
To use VRAM transport, a capture minidriver must support this property.
Usage Summary Table
Get | Set | Target | Property descriptor type | Property value type |
---|---|---|---|---|
Yes | Yes | Pin | KSPROPERTY | CAPTURE_MEMORY_ALLOCATION_FLAGS |
Return value
A KSPROPERTY_CURRENT_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