Bewerken

Delen via


KSPROPERTY_CAMERACONTROL_NODE_S structure (ksmedia.h)

The KSPROPERTY_CAMERACONTROL_NODE_S structure describes node-based properties in the PROPSETID_VIDCAP_CAMERACONTROL property set. This structure specifies property values in requests to the USB Video Class driver.

Syntax

typedef struct {
  KSP_NODE NodeProperty;
  LONG     Value;
  ULONG    Flags;
  ULONG    Capabilities;
} KSPROPERTY_CAMERACONTROL_NODE_S, PKSPROPERTY_CAMERACONTROL_NODE_S;

Members

NodeProperty

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

Value

Specifies the 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.

Remarks

See related information about the USB Video Class Driver.

Requirements

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

See also

KSPROPERTY

KSPROPERTY_CAMERACONTROL_S

PROPSETID_VIDCAP_CAMERACONTROL