DXGKDDI_MONITORDESCRIPTORSET_RELEASEDESCRIPTORINFO callback function

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

Syntax


DXGKDDI_MONITORDESCRIPTORSET_RELEASEDESCRIPTORINFO pfnReleaseDescriptorInfo;

NTSTATUS APIENTRY pfnReleaseDescriptorInfo(
  _In_ const D3DKMDT_HMONITORDESCRIPTORSET    hMonitorDescriptorSet,
  _In_ const D3DKMDT_MONITOR_DESCRIPTOR CONST *pMonitorDescriptorInfo
)
{ ... }

Parameters

hMonitorDescriptorSet [in]

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 [in]

A pointer to the D3DKMDT_MONITOR_DESCRIPTOR structure to be released.

Return value

The pfnReleaseDescriptorInfo function returns one of the following values.

Return codeDescription
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

Target platform

Desktop

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

 

 

Send comments about this topic to Microsoft

Show: