有效的 LUID 是否可能为空?

问题描述

传递给 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 (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...