PFN_DXCORE_NOTIFICATION_CALLBACK回调函数 (dxcore_interface.h)
回调函数 (应用程序) 实现,该回调函数由 DXCore 对象为通知事件调用。
语法
PFN_DXCORE_NOTIFICATION_CALLBACK PfnDxcoreNotificationCallback;
void PfnDxcoreNotificationCallback(
DXCoreNotificationType notificationType,
IUnknown *object,
[in] void *context
)
{...}
参数
notificationType
表示此调用的通知类型。 有关哪些类型对哪些类型的对象有效的信息,请参阅 DXCoreNotificationType 中的表。
object
类型: IUnknown*
引发通知的 IDXCoreAdapter 或 IDXCoreAdapterList 对象。
[in] context
类型: void*
指向包含上下文信息的 对象的指针,可以是 nullptr
。
返回值
无
要求
最低受支持的客户端 | Windows 10 (内部版本 18936) |
目标平台 | Windows |
标头 | dxcore_interface.h (包括 dxcore.h) |
Library | dxcore.lib |
DLL | dxcore.dll |
请参阅
IDXCoreAdapter、 IDXCoreAdapterList、 DXCore 参考、 使用 DXCore 枚举适配器
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈