PFND3D10DDI_SETERROR_CB - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D10DDI_SETERROR_CB Pfnd3d10ddiSeterrorCb;

VOID Pfnd3d10ddiSeterrorCb(
  D3D10DDI_HRTCORELAYER unnamedParam1,
  HRESULT unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d10ddi_seterror_cb)

PFND3D10DDI_SETERROR_CB callback function

Description

The pfnSetErrorCb function sets the return error code of a user-mode display driver's function.

Parameters

unnamedParam1

hRuntimeDevice [in]

A handle to a context for the core Microsoft Direct3D 10 runtime. This handle is supplied to the driver in a call to the driver's CreateDevice(D3D10) function.

unnamedParam2

hResult [in]

An HRESULT value that specifies the error to set for a driver function.

Remarks

A user-mode display driver can call pfnSetErrorCb many times for each driver invocation. For the driver's functions that do not return status codes, the driver uses pfnSetErrorCb to return error information to the Direct3D runtime.

See also

CreateDevice(D3D10)

D3D10DDI_CORELAYER_DEVICECALLBACKS