KSRTAUDIO_SETWRITEPACKET_INFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ksmedia.h

typedef struct {
  ULONG PacketNumber;
  DWORD Flags;
  ULONG EosPacketLength;
} KSRTAUDIO_SETWRITEPACKET_INFO, *PKSRTAUDIO_SETWRITEPACKET_INFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ksmedia-ksrtaudio_setwritepacket_info)

KSRTAUDIO_SETWRITEPACKET_INFO structure

Description

The KSRTAUDIO_SETWRITEPACKET_INFO structure describes information associated with an audio packet.

Members

PacketNumber

The number of the packet written by the OS to the WaveRT buffer. Depending on the values returned by the driver in the KSPROPERTY_RTAUDIO_GETPACKETCOUNT property, the PacketNumber may skip values. For more information, see KSPROPERTY_RTAUDIO_PACKETCOUNT.

Flags

Additional attributes related to the packet or stream.

KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM - This flag indicates that this packet represents the end of the data stream.

EosPacketLength

The length of the EOS packet if KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM is specified in Flags. Zero is a valid value. If KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM is not specified in Flags, this parameter is ignored. The EosPacketLength is measured in bytes.

See also

KSPROPERTY_RTAUDIO_SETWRITEPACKET