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)