Changeset 5278 for trunk/src


Ignore:
Timestamp:
Feb 28, 2001, 9:24:17 PM (24 years ago)
Author:
sandervl
Message:

wine update for ie5 install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NTDLL/nt.cpp

    r4364 r5278  
    1 /* $Id: nt.cpp,v 1.10 2000-10-02 13:10:10 phaller Exp $ */
     1/* $Id: nt.cpp,v 1.11 2001-02-28 20:24:17 sandervl Exp $ */
    22
    33
     
    766766                                         PULONG                   ResultLength)
    767767{
    768   dprintf(("NTDLL: NtQuerySystemInformation(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
    769            SystemInformationClass,
    770            SystemInformation,
    771            Length,
    772            ResultLength));
    773 
    774   ZeroMemory (SystemInformation, Length);
    775   return 0;
     768    dprintf(("NTDLL: NtQuerySystemInformation(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
     769             SystemInformationClass,
     770             SystemInformation,
     771             Length,
     772             ResultLength));
     773
     774    switch(SystemInformationClass)
     775    {
     776    case 0x25:
     777        /* Something to do with the size of the registry             *
     778         * Since we don't have a size limitation, fake it            *
     779         * This is almost certainly wrong.                           *
     780         * This sets each of the three words in the struct to 32 MB, *
     781         * which is enough to make the IE 5 installer happy.         */
     782        dprintf(("(0x%08x,%p,0x%08lx,%p) faking max registry size of 32 MB\n",
     783              SystemInformationClass,SystemInformation,Length,ResultLength));
     784        *(DWORD *)SystemInformation = 0x2000000;
     785        *(((DWORD *)SystemInformation)+1) = 0x200000;
     786        *(((DWORD *)SystemInformation)+2) = 0x200000;
     787        break;
     788
     789    default:
     790        dprintf(("(0x%08x,%p,0x%08lx,%p) stub\n",
     791              SystemInformationClass,SystemInformation,Length,ResultLength));
     792        ZeroMemory (SystemInformation, Length);
     793    }
     794    return STATUS_SUCCESS;
    776795}
    777796
Note: See TracChangeset for help on using the changeset viewer.