DXGK_MONITORFREQUENCYRANGESET_INTERFACE::pfnAcquireNextFrequencyRangeInfo function

The pfnAcquireNextFrequencyRangeInfo function returns the next frequency range descriptor in a monitor frequency range set, given the current frequency range descriptor.

Syntax


NTSTATUS APIENTRY (*pfnAcquireNextFrequencyRangeInfo)(
  _In_   const D3DKMDT_HMONITORFREQUENCYRANGESET     hMonitorFrequencyRangeSet,
  _In_   const D3DKMDT_MONITOR_FREQUENCY_RANGE CONST *pMonitorFrequencyRangeInfo,
  _Out_  const D3DKMDT_MONITOR_FREQUENCY_RANGE       **ppNextMonitorFrequencyRangeInfo
);

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 a D3DKMDT_MONITOR_FREQUENCY_RANGE structure that is the current frequency range descriptor. The display miniport driver previously obtained this pointer by calling pfnAcquireFirstFrequencyRangeInfo or pfnAcquireNextFrequencyRangeInfo.

ppNextMonitorFrequencyRangeInfo [out]

[out] A pointer to a variable that receives a pointer to a D3DKMDT_MONITOR_FREQUENCY_RANGE structure that is the next frequency range descriptor.

Return value

The pfnAcquireNextFrequencyRangeInfo function returns one of the following values.

Return codeDescription
STATUS_SUCCESS

The function successfully returned the next frequency range descriptor.

STATUS_GRAPHICS_DATASET_IS_EMPTY

The function succeeded, but there were no more frequency range descriptors in the set.

STATUS_INVALID_PARAMETER

An invalid parameter was supplied.

STATUS_INVALID_FREQUENCYRANGE

The frequency range descriptor supplied in pMonitorFrequencyRangeInfo was invalid.

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

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:
© 2015 Microsoft