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