// d3dkmddi.h
DXGKDDI_SETTARGETCONTENTTYPE DxgkddiSettargetcontenttype;
NTSTATUS DxgkddiSettargetcontenttype(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_SETTARGETCONTENTTYPE pSetTargetContentTypeArg
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Passes the content type for which the driver should optimize on the specified target.
Note This is functionally equivalent to the DxgkDdi_UpdateActiveVidPnPresentPath in previous WDDM versions if only the D3DKMDT_VIDPN_PRESENT_PATH_CONTENT field is changed.
hAdapterA handle that identifies the adapter.
pSetTargetContentTypeArgA pointer to a DXGKARG_SETTARGETCONTENTTYPE structure that provides the target to be modified and the new type of content being displayed on it.
If this routine succeeds, it returns STATUS_SUCCESS.
This is an optional DDI, so the function pointer in DRIVER_INITIALIZATION_DATA should be set to null if the DDI is not implemented for every adapter supported by the driver. This function is always called at PASSIVE level so the supporting code should be made pageable.