// 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 referenceNo description available.
The pfnGetNumFrequencyRanges returns the number of frequency range descriptors in a specified monitor frequency range set object.
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.
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. |