DXGKDDI_MONITORFREQUENCYRANGESET_RELEASEFREQUENCYRANGEINFO callback function (d3dkmddi.h)
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 DxgkddiMonitorfrequencyrangesetReleasefrequencyrangeinfo;
NTSTATUS DxgkddiMonitorfrequencyrangesetReleasefrequencyrangeinfo(
[in] IN_CONST_D3DKMDT_HMONITORFREQUENCYRANGESET hMonitorFrequencyRangeSet,
[in] IN_CONST_PD3DKMDT_MONITOR_FREQUENCY_RANGE_CONST pMonitorFrequencyRangeInfo
)
{...}
Parameters
[in] hMonitorFrequencyRangeSet
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.
[in] pMonitorFrequencyRangeInfo
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 code | Description |
---|---|
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Target Platform | Desktop |
Header | d3dkmddi.h (include D3dkmddi.h) |
IRQL | PASSIVE_LEVEL |