DXGKDDI_MONITORSOURCEMODESET_CREATENEWMODEINFO - NtDoc

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

DXGKDDI_MONITORSOURCEMODESET_CREATENEWMODEINFO DxgkddiMonitorsourcemodesetCreatenewmodeinfo;

NTSTATUS DxgkddiMonitorsourcemodesetCreatenewmodeinfo(
  [in]  IN_CONST_D3DKMDT_HMONITORSOURCEMODESET hMonitorSourceModeSet,
  [out] DEREF_OUT_PPD3DKMDT_MONITOR_SOURCE_MODE ppNewMonitorSourceModeInfo
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKDDI_MONITORSOURCEMODESET_CREATENEWMODEINFO callback function

Description

The pfnCreateNewModeInfo function returns a pointer to a D3DKMDT_MONITOR_SOURCE_MODE structure that the display miniport driver populates before calling pfnAddMode.

Parameters

hMonitorSourceModeSet [in]

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

ppNewMonitorSourceModeInfo [out]

A pointer to a variable that receives a pointer to a newly created D3DKMDT_MONITOR_SOURCE_MODE structure allocated by the VidPN manager.

Return value

The pfnCreateNewModeInfo function returns one of the following values.

Return code Description
STATUS_SUCCESS The function succeeded.
STATUS_NO_MEMORY The function failed because it was unable to allocate enough memory.

Remarks

After you call pfnCreateNewModeInfo to obtain a D3DKMDT_MONITOR SOURCE_MODE structure, you must do one, but not both, of the following: