Bewerken

Delen via


KSPROPERTY_VIDEOPROCAMP_NODE_S2 structure (ksmedia.h)

The KSPROPERTY_VIDEOPROCAMP_NODE_S2 structure describes node-based property settings in the PROPSETID_VIDCAP_VIDEOPROCAMP property set that use two values at the same time.

Syntax

typedef struct {
  KSP_NODE NodeProperty;
  LONG     Value1;
  ULONG    Flags;
  ULONG    Capabilities;
  LONG     Value2;
} KSPROPERTY_VIDEOPROCAMP_NODE_S2, *PKSPROPERTY_VIDEOPROCAMP_NODE_S2;

Members

NodeProperty

Specifies an initialized KSP_NODE structure that describes the node, property set, property ID, and request type.

Value1

Specifies the first value of a request. For set requests, the minidriver should set the property specified in Property to this value. For get requests, the minidriver should return the value of the property specified in Property.

Flags

Specifies the flags of a request. For set requests, this value indicates the desired setting. For get requests, this value contains the current setting. This member can be set to one of the values that are defined in ksmedia.h:

Value Meaning
KSPROPERTY_VIDEOPROCAMP_FLAGS_MANUAL Indicates that the property is to be adjusted manually
KSPROPERTY_VIDEOPROCAMP_FLAGS_AUTO Indicates that the property is to be adjusted automatically

Capabilities

Specifies the capabilities of a property. This member has meaning only for get requests. The minidriver should return the capabilities of the video processing amplifier with respect to the property specified in Property. This member should be set to one of the following values:

Value Meaning
KSPROPERTY_VIDEOPROCAMP_FLAGS_MANUAL The device supports manual setting of the specified property
KSPROPERTY_VIDEOPROCAMP_FLAGS_AUTO The device supports automatic setting of the specified property

Value2

Specifies the second value of a request. For set requests, the minidriver should set the property specified in Property to this value. For get requests, the minidriver should return the value of the property specified in Property.

Remarks

This structure is used by KSPROPERTY_VIDEOPROCAMP_WHITEBALANCE_COMPONENT.

Requirements

Requirement Value
Header ksmedia.h (include Ksmedia.h)