Bewerken

Delen via


DXGKDDI_MONITORDESCRIPTORSET_RELEASEDESCRIPTORINFO callback function (d3dkmddi.h)

The pfnReleaseDescriptorInfo function releases a D3DKMDT_MONITOR_DESCRIPTOR structure that the VidPN manager previously provided to the display miniport driver.

Syntax

DXGKDDI_MONITORDESCRIPTORSET_RELEASEDESCRIPTORINFO DxgkddiMonitordescriptorsetReleasedescriptorinfo;

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

Parameters

hMonitorDescriptorSet

A handle to a monitor descriptor set object. The display miniport driver previously obtained this handle by calling the pfnGetMonitorDescriptorSet function of the Monitor interface.

pMonitorDescriptorInfo

A pointer to the D3DKMDT_MONITOR_DESCRIPTOR structure to be released.

Return value

The pfnReleaseDescriptorInfo function returns one of the following values.

Return code Description
STATUS_SUCCESS The function succeeded.
STATUS_INVALID_MONITOR_DESCRIPTOR The descriptor supplied in pMonitorDescriptorInfo was invalid.
STATUS_GRAPHICS_INVALID_MONITOR_DESCRIPTORSET The handle supplied in hMonitorDescriptorSet was invalid.

Remarks

When you have finished using a D3DKMDT_MONITOR_DESCRIPTOR structure that you obtained by calling pfnAcquireFirstDescriptorInfo or pfnAcquireNextDescriptorInfo, you must release it by calling pfnReleaseDescriptorInfo.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Desktop
Header d3dkmddi.h (include D3dkmddi.h)
IRQL PASSIVE_LEVEL