DXGKDDI_MONITORFREQUENCYRANGESET_RELEASEFREQUENCYRANGEINFO callback function

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

Syntax


DXGKDDI_MONITORFREQUENCYRANGESET_RELEASEFREQUENCYRANGEINFO pfnReleaseFrequencyRangeInfo;

NTSTATUS APIENTRY pfnReleaseFrequencyRangeInfo(
  _In_ const D3DKMDT_HMONITORFREQUENCYRANGESET     hMonitorFrequencyRangeSet,
  _In_ const D3DKMDT_MONITOR_FREQUENCY_RANGE CONST *pMonitorFrequencyRangeInfo
)
{ ... }

Parameters

hMonitorFrequencyRangeSet [in]

[in] A handle to a monitor frequency range set object. The display miniport driver previously obtained this handle by calling the pfnGetMonitorFrequencyRangeSet function of the Monitor interface.

pMonitorFrequencyRangeInfo [in]

[in] A pointer to the D3DKMDT_MONITOR_FREQUENCY_RANGE structure that is to be released.

Return value

The pfnAcquireNextFrequencyRangeInfo function returns one of the following values.

Return codeDescription
STATUS_SUCCESS

The function succeeded.

STATUS_INVALID_MONITOR_FREQUENCY_RANGE

The frequency range descriptor supplied in pMonitorFrequencyRangeInfo was invalid.

STATUS_INVALID_MONITOR_FREQUENCYRANGESET

The handle supplied in hMonitorFrequencyRangeSet was invalid.

 

Remarks

When you have finished using a D3DKMDT_MONITOR_FREQUENCY_RANGE structure that you obtained by calling pfnAcquireFirstFrequencyRangeInfo or pfnAcquireNextFrequencyRangeInfo, you must release it by calling pfnReleaseFrequencyRangeInfo.

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: