DXGKDDI_MONITOR_RELEASEMONITORSOURCEMODESET - NtDoc

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

DXGKDDI_MONITOR_RELEASEMONITORSOURCEMODESET DxgkddiMonitorReleasemonitorsourcemodeset;

NTSTATUS DxgkddiMonitorReleasemonitorsourcemodeset(
  [in] IN_CONST_D3DKMDT_ADAPTER hAdapter,
  [in] IN_CONST_D3DKMDT_HMONITORSOURCEMODESET hMonitorSourceModeSet
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKDDI_MONITOR_RELEASEMONITORSOURCEMODESET callback function

Description

The pfnReleaseMonitorSourceModeSet function releases a handle to a monitor source mode set object.

Parameters

hAdapter [in]

A handle that identifies a display adapter. The Microsoft DirectX graphics kernel subsystem previously provided this handle to the display miniport driver in the DxgkInterface parameter of the DxgkDdiStartDevice function.

hMonitorSourceModeSet [in]

The handle to be released.

Return value

The pfnReleaseMonitorSourceModeSet function returns one of the following values.

Return code Description
STATUS_SUCCESS The function succeeded.
STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER The handle supplied in hAdapter was invalid.
STATUS_INVALID_MONITOR_SOURCEMODESET The handle supplied in hMonitorSourceModeSet was invalid.

This function might also return other error codes that are defined in Ntstatus.h.

Remarks

When you have finished using a handle that you obtained by calling pfnAcquireMonitorSourceModeSet, you must release the handle by calling pfnReleaseMonitorSourceModeSet.

This function is also available in the DXGK_MONITOR_INTERFACE_V2 interface beginning with Windows 7.

See also

DXGK_MONITOR_INTERFACE_V2