DXGKDDI_MONITORFREQUENCYRANGESET_GETNUMFREQUENCYRANGES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKDDI_MONITORFREQUENCYRANGESET_GETNUMFREQUENCYRANGES DxgkddiMonitorfrequencyrangesetGetnumfrequencyranges;

NTSTATUS DxgkddiMonitorfrequencyrangesetGetnumfrequencyranges(
  [in]  IN_CONST_D3DKMDT_HMONITORFREQUENCYRANGESET hMonitorFrequencyRangeSet,
  [out] OUT_PSIZE_T_CONST pNumMonitorFrequencyRanges
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_monitorfrequencyrangeset_getnumfrequencyranges)

DXGKDDI_MONITORFREQUENCYRANGESET_GETNUMFREQUENCYRANGES callback function

Description

The pfnGetNumFrequencyRanges returns the number of frequency range descriptors in a specified monitor frequency range set object.

Parameters

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.

pNumMonitorFrequencyRanges [out]

A pointer to a SIZE_T-typed variable that receives the number of descriptors in the set.

Return value

The pfnGetNumFrequencyRanges function returns one of the following values.

Return code Description
STATUS_SUCCESS The function succeeded.
STATUS_INVALID_PARAMETER An invalid parameter was supplied.
STATUS_INVALID_MONITOR_FREQUENCYRANGESET The handle supplied in hMonitorFrequencyRangeSet was invalid.