// d3dkmddi.h
DXGKDDI_MONITORFREQUENCYRANGESET_RELEASEFREQUENCYRANGEINFO DxgkddiMonitorfrequencyrangesetReleasefrequencyrangeinfo;
NTSTATUS DxgkddiMonitorfrequencyrangesetReleasefrequencyrangeinfo(
[in] IN_CONST_D3DKMDT_HMONITORFREQUENCYRANGESET hMonitorFrequencyRangeSet,
[in] IN_CONST_PD3DKMDT_MONITOR_FREQUENCY_RANGE_CONST pMonitorFrequencyRangeInfo
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnReleaseFrequencyRangeInfo function releases a D3DKMDT_MONITOR_FREQUENCY_RANGE structure that the VidPN manager previously provided to the display miniport driver.
hMonitorFrequencyRangeSet [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]A pointer to the D3DKMDT_MONITOR_FREQUENCY_RANGE structure that is to be released.
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. |
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.