VirtualBox

儲存庫 vbox 的更動 42124


忽略:
時間撮記:
2012-7-12 上午10:19:00 (12 年 以前)
作者:
vboxsync
訊息:

wddm/win8: multimon fixes

位置:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
檔案:
修改 4 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp

    r42081 r42124  
    680680                {
    681681                    KEY_VALUE_PARTIAL_INFORMATION Info;
    682                     UCHAR Buf[sizeof (L"VBoxVideoWddm")]; /* should be enough */
     682                    UCHAR Buf[sizeof (VBOX_WDDM_DRIVERNAME)]; /* should be enough */
    683683                } KeyData;
    684684                ULONG cbResult;
     
    696696                    if (KeyData.Info.Type == REG_SZ)
    697697                    {
    698                         if (KeyData.Info.DataLength == sizeof (L"VBoxVideoWddm"))
     698                        if (KeyData.Info.DataLength == sizeof (VBOX_WDDM_DRIVERNAME))
    699699                        {
    700                             if (!wcscmp(L"VBoxVideoWddm", (PWCHAR)KeyData.Info.Data))
     700                            if (!wcscmp(VBOX_WDDM_DRIVERNAME, (PWCHAR)KeyData.Info.Data))
    701701                            {
    702702                                bFound = TRUE;
     
    810810        Assert(tmpStatus == STATUS_SUCCESS);
    811811    }
     812
    812813    return Status;
    813814}
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVidPn.cpp

    r42093 r42124  
    207207        Status = STATUS_SUCCESS;
    208208    else
    209         LOGREL(("VBoxVideoWddm: pfnAcquireFirstModeInfo failed Status(0x%x)", Status));
     209        LOGREL(("pfnAcquireFirstModeInfo failed Status(0x%x)", Status));
    210210
    211211    *pbSupported = bSupported;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r42120 r42124  
    139139}
    140140
    141 NTSTATUS vboxWddmGhDisplayPostInfoScreenBySDesc (PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_SURFACE_DESC pDesc, POINT * pVScreenPos, uint16_t fFlags)
     141NTSTATUS vboxWddmGhDisplayPostInfoScreenBySDesc (PVBOXMP_DEVEXT pDevExt, const PVBOXWDDM_SURFACE_DESC pDesc, const POINT * pVScreenPos, uint16_t fFlags)
    142142{
    143143    void *p = VBoxHGSMIBufferAlloc (&VBoxCommonFromDeviceExt(pDevExt)->guestCtx,
     
    169169}
    170170
    171 NTSTATUS vboxWddmGhDisplayPostInfoScreen(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_ALLOC_DATA pAllocData, POINT * pVScreenPos)
     171NTSTATUS vboxWddmGhDisplayPostInfoScreen(PVBOXMP_DEVEXT pDevExt, const PVBOXWDDM_ALLOC_DATA pAllocData, const POINT * pVScreenPos)
    172172{
    173173    NTSTATUS Status = vboxWddmGhDisplayPostInfoScreenBySDesc(pDevExt, &pAllocData->SurfDesc, pVScreenPos, VBVA_SCREEN_F_ACTIVE);
     
    258258}
    259259
    260 NTSTATUS vboxWddmGhDisplayUpdateScreenPos(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_SOURCE pSource, POINT *pVScreenPos)
     260NTSTATUS vboxWddmGhDisplayUpdateScreenPos(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_SOURCE pSource, const POINT *pVScreenPos)
    261261{
    262262    if (pSource->VScreenPos.x == pVScreenPos->x
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.h

    r42101 r42124  
    1919#define ___VBoxMPWddm_h___
    2020
     21#ifdef VBOX_WDDM_WIN8
     22# define VBOX_WDDM_DRIVERNAME L"VBoxVideoW8"
     23#else
     24# define VBOX_WDDM_DRIVERNAME L"VBoxVideoWddm"
     25#endif
     26
    2127#ifndef DEBUG_misha
    2228# ifdef Assert
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette