PFND3DDDICB_LOGSTRINGTABLEENTRY callback function (d3dumddi.h)

Locates a string table entry that is used by the LogMarkerStringTable function to log an Event Tracing for Windows (ETW) marker event. Optionally implemented by Windows Display Driver Model (WDDM) 1.3 and later drivers.

Syntax

PFND3DDDICB_LOGSTRINGTABLEENTRY Pfnd3dddicbLogstringtableentry;

HRESULT Pfnd3dddicbLogstringtableentry(
  HANDLE hLog,
  UINT StringIndex,
  LPCWSTR Info
)
{...}

Parameters

hLog

A handle to the ETW log that is to be written to. Must be the same hLog handle passed to the LogMarkerStringTable function.

StringIndex

The offset, in bytes, of the string table entry pointed to by Info. Can be negative if the string is passed along with the marker event.

Info

A custom text string embedded in the ETW packet. Can be NULL.

Return value

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

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

LogMarkerStringTable