DXGKDDI_MONITORDESCRIPTORSET_GETNUMDESCRIPTORS - NtDoc

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

DXGKDDI_MONITORDESCRIPTORSET_GETNUMDESCRIPTORS DxgkddiMonitordescriptorsetGetnumdescriptors;

NTSTATUS DxgkddiMonitordescriptorsetGetnumdescriptors(
  [in]  IN_CONST_D3DKMDT_HMONITORDESCRIPTORSET hMonitorDescriptorSet,
  [out] OUT_PSIZE_T_CONST pNumMonitorDescriptors
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKDDI_MONITORDESCRIPTORSET_GETNUMDESCRIPTORS callback function

Description

The pfnGetNumDescriptors function returns the number of descriptors in a monitor descriptor set.

Parameters

hMonitorDescriptorSet [in]

A handle to a monitor descriptor set object. The display miniport driver previously obtained this handle by calling the pfnGetMonitorDescriptorSet function of the Monitor interface.

pNumMonitorDescriptors [out]

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

Return value

The pfnGetNumDescriptors function returns one of the following values.

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