Bewerken

Delen via


KSPROPERTY_CAMERACONTROL_NODE_S2 structure (ksmedia.h)

The KSPROPERTY_CAMERACONTROL_NODE_S2 structure describes node-based properties in the PROPSETID_VIDCAP_CAMERACONTROL property set that use two values at the same time. This structure specifies property values in requests to the USB video class driver.

Syntax

typedef struct {
  KSP_NODE NodeProperty;
  LONG     Value1;
  ULONG    Flags;
  ULONG    Capabilities;
  LONG     Value2;
} KSPROPERTY_CAMERACONTROL_NODE_S2, *PKSPROPERTY_CAMERACONTROL_NODE_S2;

Members

NodeProperty

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

Value1

Specifies the first value of the property. This member is read/write.

Flags

Indicates, for get requests, the current setting for the specified property from the values listed below. Indicates, for set requests, the desired setting for the specified property from the values listed below. This member can be set to one of the following values that are defined in ksmedia.h:

Flag Meaning
KSPROPERTY_CAMERACONTROL_FLAGS_MANUAL Indicates that the setting is controlled manually
KSPROPERTY_CAMERACONTROL_FLAGS_AUTO Indicates that the setting is controlled automatically
KSPROPERTY_CAMERACONTROL_FLAGS_ABSOLUTE Indicates that the setting is in absolute values
KSPROPERTY_CAMERACONTROL_FLAGS_RELATIVE Indicates that the setting is in relative values

Capabilities

Indicates the minidriver's camera control capabilities for the specified property. This member is read-only. This member can be set to one of the following values that are defined in ksmedia.h:

Flag Meaning
KSPROPERTY_CAMERACONTROL_FLAGS_MANUAL Indicates that the device can be controlled manually
KSPROPERTY_CAMERACONTROL_FLAGS_AUTO Indicates that the device can be controlled automatically
KSPROPERTY_CAMERACONTROL_FLAGS_ABSOLUTE Indicates that the device settings are in absolute values
KSPROPERTY_CAMERACONTROL_FLAGS_RELATIVE Indicates that the device settings are in relative values

Value2

Specifies the second value of the property. This member is read/write.

Remarks

This structure is used by KSPROPERTY_CAMERACONTROL_PANTILT and KSPROPERTY_CAMERACONTROL_PANTILT_RELATIVE for node-based get/set property requests.

Requirements

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