DXGKDDI_MONITORFREQUENCYRANGESET_ACQUIREFIRSTFREQUENCYRANGEINFO callback function (d3dkmddi.h)

The DXGKDDI_MONITORFREQUENCYRANGESET_ACQUIREFIRSTFREQUENCYRANGEINFO function returns the first frequency range descriptor in a specified monitor frequency range set object.

Syntax

DXGKDDI_MONITORFREQUENCYRANGESET_ACQUIREFIRSTFREQUENCYRANGEINFO DxgkddiMonitorfrequencyrangesetAcquirefirstfrequencyrangeinfo;

NTSTATUS DxgkddiMonitorfrequencyrangesetAcquirefirstfrequencyrangeinfo(
  [in]  IN_CONST_D3DKMDT_HMONITORFREQUENCYRANGESET hMonitorFrequencyRangeSet,
  [out] DEREF_OUT_CONST_PPD3DKMDT_MONITOR_FREQUENCY_RANGE ppFirstMonitorFrequencyRangeInfo
)
{...}

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.

[out] ppFirstMonitorFrequencyRangeInfo

A pointer to a variable that receives a pointer to a D3DKMDT_MONITOR_FREQUENCY_RANGE structure.

Return value

The pfnAcquireFirstFrequencyRangeInfo function returns one of the following values.

Return code Description
STATUS_SUCCESS The function successfully returned the first frequency range descriptor.
STATUS_GRAPHICS_DATASET_IS_EMPTY The function succeeded, but there were no frequency range descriptors in the set.
STATUS_INVALID_PARAMETER An invalid parameter was supplied.
STATUS_INVALID_MONITOR_FREQUENCYRANGESET The handle supplied in hMonitorFrequencyRangeSet was invalid.

This function might also return other error codes defined in Ntstatus.h.

Remarks

When you have finished using the D3DKMDT_MONITOR_FREQUENCY_RANGE structure, you must release the structure by calling pfnReleaseFrequencyRangeInfo.

You can obtain all the descriptors in a monitor frequency range set by calling pfnAcquireFirstFrequencyRangeInfo and then making a sequence of calls to pfnAcquireNextFrequencyRangeInfo.

Requirements

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