// ks.h
typedef struct {
ULONG BufferSize;
ULONG UsedSize;
PVOID Data;
PVOID SystemVa;
ULONG Flags;
ULONG Reserved;
} KSSTREAM_METADATA_INFO, *PKSSTREAM_METADATA_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
This structure contains the metadata information that is passed down to the driver.
BufferSizeThis value is set by the user mode component and is equal to the MaxMetadataBufferSize supplied by the driver.
UsedSizeThe size of the metadata written by the driver in the SystemVa buffer.
DataThe metadata buffer that is passed down by the user mode component. This is mapped to SystemVa.
SystemVaThe buffer that is used by the driver to fill with metadata.
FlagsSet to KSCAMERA_EXTENDEDPROP_METADATA_SYSTEMMEMORY if the metadata buffer is allocated from the system memory.
ReservedReserved for system use.