KSRATE structure (ks.h)
The query is passed a KSRATE structure appended to the property containing the rate request (known as a KSRATE_CAPABILITY structure), and is returned a KSRATE structure filled in with the capability given the rate request.
Syntax
typedef struct {
LONGLONG PresentationStart;
LONGLONG Duration;
KSPIN_INTERFACE Interface;
LONG Rate;
ULONG Flags;
} KSRATE, *PKSRATE;
Members
PresentationStart
Specifies the start point for the rate in presentation time units.
Duration
Specifies the duration of the rate in presentation time units.
Interface
A structure of type KSPIN_INTERFACE that specifies either the interface used in the connection this rate request is being sent to, or the interface of a related connection. This allows the time units to be interpreted by the pin.
Rate
Specifies the rate in terms of 1/10th percentage points, where 1000 is the nominal 1.0 rate, 500 is 0.5 rate, and so on. Negative numbers indicate reverse rates.
Flags
Possible flag values are listed in the following table.
Flag | Description |
---|---|
KSRATE_NOPRESENTATIONSTART | Specifies that there is no valid start time in this rate change request or query. |
KSRATE_NOPRESENTATIONDURATION | Specifies that there is no valid duration in this rate change request or query. |
Requirements
Requirement | Value |
---|---|
Header | ks.h (include Ks.h) |