// d3dkmddi.h
DXGKDDI_FORMATHISTORYBUFFER DxgkddiFormathistorybuffer;
NTSTATUS DxgkddiFormathistorybuffer(
IN_CONST_HANDLE hContext,
IN DXGKARG_FORMATHISTORYBUFFER *pFormatData
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Copies unformatted data from the history buffer into a buffer that's properly formatted to be submitted to the Event Tracing for Windows (ETW) facility.
hContextA handle to the device context for the DMA buffer that contains the unformatted history buffer.
pFormatDataA pointer to a DXGKARG_FORMATHISTORYBUFFER structure that contains data about how to format the history buffer.
Returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.