// ksmedia.h
typedef struct {
ULONG Attributes;
ULONG BufferSize;
PVOID BufferAddress;
} KSWAVE_BUFFER, *PKSWAVE_BUFFER;
View the official Windows Driver Kit DDI referenceNo description available.
The KSWAVE_BUFFER structure is used to describe a sample buffer.
AttributesSpecifies the following flags:
| Flag | Meaning |
|---|---|
| KSWAVE_BUFFER_ATTRIBUTEF_LOOPING | Indicates that the buffer loops. |
| KSWAVE_BUFFER_ATTRIBUTEF_STATIC | Indicates that the buffer is static. |
BufferSizeSpecifies the size of the buffer, in bytes.
BufferAddressSpecifies the starting address of the buffer.
This structure is used by the KSPROPERTY_WAVE_BUFFER property.