PFN_DXCORE_NOTIFICATION_CALLBACK回呼函式 (dxcore_interface.h)

應用程式) 實作 (回呼函式,由 DXCore 物件針對通知事件呼叫。

語法

PFN_DXCORE_NOTIFICATION_CALLBACK PfnDxcoreNotificationCallback;

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

參數

notificationType

類型: DXCoreNotificationType

代表此調用的通知類型。 請參閱 DXCoreNotificationType 中的表格,以取得哪些類型對哪些物件有效的資訊。

object

類型: IUnknown*

IDXCoreAdapterIDXCoreAdapterList物件引發通知。

[in] context

類型: void*

可以是 nullptr 的指標,指向包含內容資訊的物件。

傳回值

需求

   
最低支援的用戶端 Windows 10 (組建 18936)
目標平台 Windows
標頭 dxcore_interface.h (包含 dxcore.h)
程式庫 dxcore.lib
Dll dxcore.dll

另請參閱

IDXCoreAdapterIDXCoreAdapterListDXCore 參考使用 DXCore 列舉配接器