DXGKDDI_MONITORDESCRIPTORSET_RELEASEDESCRIPTORINFO回调函数 (d3dkmddi.h)

pfnReleaseDescriptorInfo 函数释放了 VidPN 管理器以前提供给显示微型端口驱动程序的 D3DKMDT_MONITOR_DESCRIPTOR 结构。

语法

DXGKDDI_MONITORDESCRIPTORSET_RELEASEDESCRIPTORINFO DxgkddiMonitordescriptorsetReleasedescriptorinfo;

NTSTATUS DxgkddiMonitordescriptorsetReleasedescriptorinfo(
  IN_CONST_D3DKMDT_HMONITORDESCRIPTORSET hMonitorDescriptorSet,
  IN_CONST_PD3DKMDT_MONITOR_DESCRIPTOR_CONST pMonitorDescriptorInfo
)
{...}

参数

hMonitorDescriptorSet

监视器描述符集对象的句柄。 显示微型端口驱动程序以前通过调用 Monitor 接口pfnGetMonitorDescriptorSet 函数来获取此句柄。

pMonitorDescriptorInfo

指向要释放D3DKMDT_MONITOR_DESCRIPTOR结构的指针。

返回值

pfnReleaseDescriptorInfo 函数返回以下值之一。

返回代码 描述
STATUS_SUCCESS 函数成功。
STATUS_INVALID_MONITOR_DESCRIPTOR pMonitorDescriptorInfo 中提供的描述符无效。
STATUS_GRAPHICS_INVALID_MONITOR_DESCRIPTORSET hMonitorDescriptorSet 中提供的句柄无效。

言论

使用完通过调用 pfnAcquireFirstDescriptorInfopfnAcquireNextDescriptorInfo获得的D3DKMDT_MONITOR_DESCRIPTOR结构后,必须通过 调用 pfnReleaseDescriptorInfo来释放它。

要求

要求 价值
最低支持的客户端 Windows Vista
目标平台 桌面
标头 d3dkmddi.h (包括 D3dkmddi.h)
IRQL PASSIVE_LEVEL