问题描述
传递给 EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN
事件处理程序的参数之一是指向包含 IDARG_IN_SETSWAPCHAIN
成员的 LUID RenderAdapterLuid
结构的指针:
struct IDARG_IN_SETSWAPCHAIN
{
/// <summary>
/// [in] Handle to indirect swapchain that will be used to pass the desktop image to the driver
/// for processing,transmission and display
/// </summary>
IDDCX_SWAPCHAIN hSwapChain;
/// <summary>
/// [in] Handle to auto reset event that is signaled when new image to encode is ready
/// </summary>
HANDLE hNextSurfaceAvailable;
/// <summary>
/// [In] Luid of the adapter were the desktop image was rendered
/// </summary>
LUID RenderAdapterLuid;
};
Microsoft 对 GUID 和 UUID 进行了相当详细的记录,但我找不到任何信息、预处理器宏等,它们可能表明什么构成了有效的 LUID。
假设“空”LUID 无效是否安全?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)