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

KSPROPERTY

CAPTURE_MEMORY_ALLOCATION_FLAGS

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

CAPTURE_MEMORY_ALLOCATION_FLAGS

KSPROPERTY