// d3dkmddi.h
DXGKDDI_VIDPNTOPOLOGY_REMOVEPATH DxgkddiVidpntopologyRemovepath;
NTSTATUS DxgkddiVidpntopologyRemovepath(
[in] IN_CONST_D3DKMDT_HVIDPNTOPOLOGY hVidPnTopology,
[in] IN_CONST_D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId,
[in] IN_CONST_D3DDDI_VIDEO_PRESENT_TARGET_ID VidPnTargetId
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnRemovePath function removes a video present path to a specified VidPN topology object.
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.
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. |
The D3DKMDT_HVIDPNTOPOLOGY data type is defined in D3dkmdt.h.