DXGKDDI_VIDPNTOPOLOGY_REMOVEPATH callback function (d3dkmddi.h)
The pfnRemovePath function removes a video present path to a specified VidPN topology object.
Syntax
DXGKDDI_VIDPNTOPOLOGY_REMOVEPATH DxgkddiVidpntopologyRemovepath;
NTSTATUS DxgkddiVidpntopologyRemovepath(
IN_CONST_D3DKMDT_HVIDPNTOPOLOGY hVidPnTopology,
IN_CONST_D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId,
IN_CONST_D3DDDI_VIDEO_PRESENT_TARGET_ID VidPnTargetId
)
{...}
Parameters
hVidPnTopology
[in] A handle to a VidPN topology object. The display miniport driver previously obtained this handle by calling the pfnGetTopology function of the DXGK_VIDPN_INTERFACE interface.
VidPnSourceId
[in] An integer that identifies a VidPN source path.
VidPnTargetId
[in] An integer that identifies a VidPN target path.
Return value
The pfnRemovePath function returns one of the following values.
Return code | Description |
---|---|
STATUS_SUCCESS | The specified video present path has been successfully removed from this VidPN topology object. |
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE | The VidPN source identifier supplied in VidPnSourceId is invalid. |
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET | The VidPN target identifier supplied in VidPnTargetId is invalid. |
STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY | The handle supplied in hVidPnTopology is invalid. |
STATUS_ACCESS_DENIED | The path cannot be removed in the context of the current DDI call. |
Remarks
The D3DKMDT_HVIDPNTOPOLOGY data type is defined in D3dkmdt.h.
Requirements
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3dkmddi.h (include D3dkmddi.h) |
IRQL | PASSIVE_LEVEL |