Bewerken

Delen via


PFND3DDDI_LOGSTRINGTABLE callback function (d3dumddi.h)

Called by the Microsoft Direct3D runtime to request that the user-mode display driver log a custom Event Tracing for Windows (ETW) marker event. Optionally implemented by Windows Display Driver Model (WDDM) 1.3 and later drivers.

Syntax

PFND3DDDI_LOGSTRINGTABLE Pfnd3dddiLogstringtable;

HRESULT Pfnd3dddiLogstringtable(
  HANDLE hLog,
  PFND3DDDICB_LOGSTRINGTABLEENTRY pfnLogStringTableEntryCb
)
{...}

Parameters

hLog

A handle to the Event Tracing for Windows (ETW) log that is to be written to.

pfnLogStringTableEntryCb

A function pointer to the LogMarkerStringTableEntry function that locates a string table entry.

Return value

Returns S_OK or an appropriate error result if the function does not complete successfully.

Remarks

This function is free-threaded.

Requirements

Requirement Value
Minimum supported client Windows 8.1,WDDM 1.3 and later
Minimum supported server Windows Server 2012 R2
Target Platform Desktop
Header d3dumddi.h (include D3d10umddi.h)

See also

LogMarkerStringTableEntry