D3DDDICB_LOGUMDMARKER structure (d3dumddi.h)

Specifies info about the location of an Event Tracing for Windows (ETW) marker event that the user-mode display driver has defined.

Syntax

typedef struct D3DDDICB_LOGUMDMARKER {
  [in] HANDLE  hContext;
       UINT64  APISequenceNumber;
       INT     Index;
       INT     StringIndex;
       LPCWSTR Info;
} D3DDDICB_LOGUMDMARKER;

Members

[in] hContext

A handle to a Direct3D context that signals ETW marker events. This is also the context that the pfnRenderCb function will be called on.

APISequenceNumber

The API sequence number that the marker event is associated with.

Index

Indicates which API sequence call caused this marker event. If zero, the marker event corresponds to the latest API sequence number after a call to the pfnSetMarker function. If 1, the marker event is located at the following API sequence number. And so on.

Should be -1 if no time stamps are associated with this marker event.

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.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Header d3dumddi.h (include D3d10umddi.h)

See also

pfnRenderCb

pfnSetMarker