VirtualBox

Ignore:
Timestamp:
Sep 21, 2007 12:02:37 PM (17 years ago)
Author:
vboxsync
Message:

Allow to use custom resolutions for any secondary monitor in the Windows guest additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp

    r4349 r4950  
    430430        uint32_t xres, yres, bpp = 0;
    431431        swprintf(keyname, L"CustomMode%dWidth", curKeyNo);
    432         status = VideoPortGetRegistryParameters(DeviceExtension,
     432        status = VideoPortGetRegistryParameters(DeviceExtension->pPrimary,
    433433                                                keyname,
    434434                                                FALSE,
     
    439439            break;
    440440        swprintf(keyname, L"CustomMode%dHeight", curKeyNo);
    441         status = VideoPortGetRegistryParameters(DeviceExtension,
     441        status = VideoPortGetRegistryParameters(DeviceExtension->pPrimary,
    442442                                                keyname,
    443443                                                FALSE,
     
    448448            break;
    449449        swprintf(keyname, L"CustomMode%dBPP", curKeyNo);
    450         status = VideoPortGetRegistryParameters(DeviceExtension,
     450        status = VideoPortGetRegistryParameters(DeviceExtension->pPrimary,
    451451                                                keyname,
    452452                                                FALSE,
Note: See TracChangeset for help on using the changeset viewer.

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