PFN_DXCORE_NOTIFICATION_CALLBACK callback function (dxcore_interface.h)

A callback function (implemented by your application), which is called by a DXCore object for notification events.

Syntax

PFN_DXCORE_NOTIFICATION_CALLBACK PfnDxcoreNotificationCallback;

void PfnDxcoreNotificationCallback(
       DXCoreNotificationType notificationType,
       IUnknown *object,
  [in] void *context
)
{...}

Parameters

notificationType

Type: DXCoreNotificationType

The type of notification representing this invocation. See the table in DXCoreNotificationType for info about what types are valid with which kinds of objects.

object

Type: IUnknown*

The IDXCoreAdapter or IDXCoreAdapterList object raising the notification.

[in] context

Type: void*

A pointer, which may be nullptr, to an object containing context info.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10 (Build 18936)
Target Platform Windows
Header dxcore_interface.h (include dxcore.h)
Library dxcore.lib
DLL dxcore.dll

See also

IDXCoreAdapter, IDXCoreAdapterList, DXCore Reference, Using DXCore to enumerate adapters