DXGKDDI_MONITORSOURCEMODESET_RELEASEMODEINFO callback function

The pfnReleaseModeInfo function releases a D3DKMDT_MONITOR_SOURCE_MODE structure that the VidPN manager previously provided to the display miniport driver.

Syntax


DXGKDDI_MONITORSOURCEMODESET_RELEASEMODEINFO pfnReleaseModeInfo;

NTSTATUS APIENTRY pfnReleaseModeInfo(
  _In_ const D3DKMDT_HMONITORSOURCEMODESET     hMonitorSourceModeSet,
  _In_ const D3DKMDT_MONITOR_SOURCE_MODE CONST *pMonitorSourceModeInfo
)
{ ... }

Parameters

hMonitorSourceModeSet [in]

[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.

pMonitorSourceModeInfo [in]

[in] A pointer to the D3DKMDT_MONITOR_SOURCE_MODE structure that is to be released.

Return value

The pfnReleaseModeInfo function returns one of the following values:

Return codeDescription
STATUS_SUCCESS

The function succeeded.

STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET

The handle supplied in hMonitorSourceModeSet was invalid.

STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE

The pointer supplied in pMonitorSourceModeInfo was invalid.

 

Remarks

When you have finished using a D3DKMDT_MONITOR_SOURCE_MODE structure that you obtained by calling pfnAcquireFirstModeInfo or pfnAcquireNextModeInfo, you must release the structure by calling pfnReleaseModeInfo.

The D3DKMDT_HMONITORSOURCEMODESET data type is defined in D3dkmdt.h.

Requirements

Target platform

Desktop

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

pfnAcquireFirstModeInfo
pfnAcquireNextModeInfo
D3DKMDT_MONITOR_SOURCE_MODE

 

 

Send comments about this topic to Microsoft

Show: