Bewerken

Delen via


DXGKDDI_FORMATHISTORYBUFFER callback function (d3dkmddi.h)

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.

Syntax

DXGKDDI_FORMATHISTORYBUFFER DxgkddiFormathistorybuffer;

NTSTATUS DxgkddiFormathistorybuffer(
  IN_CONST_HANDLE hContext,
  IN DXGKARG_FORMATHISTORYBUFFER *pFormatData
)
{...}

Parameters

hContext

A handle to the device context for the DMA buffer that contains the unformatted history buffer.

pFormatData

A pointer to a DXGKARG_FORMATHISTORYBUFFER structure that contains data about how to format the history buffer.

Return value

Returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.

Requirements

Requirement Value
Minimum supported client Windows 8.1,WDDM 1.3
Minimum supported server Windows Server 2012 R2
Target Platform Desktop
Header d3dkmddi.h
IRQL DISPATCH_LEVEL

See also

DXGKARG_FORMATHISTORYBUFFER