Virtualbox WDDM之DxgkDdiIsSupportedVidPn

来源:互联网 发布:rs422 转网络 编辑:程序博客网 时间:2024/06/09 23:42

The DxgkDdiIsSupportedVidPn function determines whether a specified VidPN is supported on a display adapter.

https://msdn.microsoft.com/en-us/library/windows/hardware/ff559684(v=vs.85).aspx


Remarks

For more information about the analysis that this function must perform, see Determining Whether a VidPN is Supported on a Display Adapter.

If pIsSupportedVidPnArg->hDesiredVidPn is zero, DxgkDdiIsSupportedVidPn must set pIsSupportedVidPnArg->IsVidPnSupported to TRUE, the idea being that the display adapter can always be configured to display nothing.



NTSTATUSAPIENTRYDxgkDdiIsSupportedVidPn(    CONST HANDLE  hAdapter,    OUT DXGKARG_ISSUPPORTEDVIDPN*  pIsSupportedVidPnArg    ){    /* The DxgkDdiIsSupportedVidPn should be made pageable. */    PAGED_CODE();    /* @todo: implement a check */    pIsSupportedVidPnArg->IsVidPnSupported = TRUE;    return STATUS_SUCCESS;}


0 0
原创粉丝点击