KSPROPERTY_BOUNDS_LONG union (ks.h)

The KSPROPERTY_BOUNDS_LONG structure defines the bounds for a 32-bit property.

Syntax

typedef union {
  struct {
    LONG SignedMinimum;
    LONG SignedMaximum;
  } _SIGNED;
  struct {
    LONG SignedMinimum;
    LONG SignedMaximum;
  };
  struct {
    ULONG UnsignedMinimum;
    ULONG UnsignedMaximum;
  } _UNSIGNED;
  struct {
    ULONG UnsignedMinimum;
    ULONG UnsignedMaximum;
  };
} KSPROPERTY_BOUNDS_LONG, *PKSPROPERTY_BOUNDS_LONG;

Members

_SIGNED

_SIGNED.SignedMinimum

_SIGNED.SignedMaximum

SignedMinimum

Specifies a minimum bound as a signed 32-bit value.

SignedMaximum

Specifies a maximum bound as a signed 32-bit value.

_UNSIGNED

_UNSIGNED.UnsignedMinimum

_UNSIGNED.UnsignedMaximum

UnsignedMinimum

Specifies a minimum bound as an unsigned 32-bit value.

UnsignedMaximum

Specifies a maximum bound as an unsigned 32-bit value.

Remarks

This structure specifies a range of 32-bit values for a property. Use only when the MembersFlags member of the relevant KSPROPERTY_MEMBERSHEADER is set to KSPROPERTY_MEMBER_RANGES. Use this structure in the Members array in the relevant KSPROPERTY_MEMBERSLIST structure.

See the Testcap sample in the Windows Driver Kit (WDK) for examples of usage.

Also see related information in KS Properties.

Requirements

Requirement Value
Header ks.h (include Ks.h)

See also

KSPROPERTY_MEMBERSHEADER

KSPROPERTY_MEMBERSLIST

KSPROPERTY_VALUES