Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-13602

kernel32_vista delay loading

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      inspired by CORE-13361 we were discussing whether it's possible to delay-load kernel32_vista.dll too, same as we did with ntdll_vista.

      Goal is to allow at least booting without the file being present (and eventually save some memory/handles then).
      Other goal is to not loose any current functionality when file present.

      r75427 gcc dbg
      as far as I can see kernel32_vista.dll is currently imported by
      inseng.dll
      libtirpc.dll
      msi.dll (a fixme points towards it should be delay-loaded here)
      ole32.dll
      oleaut32.dll
      pdh.dll
      rpcrt4.dll
      snmpapi.dll
      urlmon.dll
      wininet.dll
      nfsd.exe

      I tried delay-loading at all of the above in
      WIP-kernel32_vista-delay-load-everywhere.patch

      patch compiled and succeeded first stage, but second stage failed here:
      r75427-kernel_vista_delay_load_everywhere_fails_SecondStage.png

      Log:
      (../dll/win32/syssetup/wizard.c:1760) SetupInstallFromInfSection failed with error 998

      Not sure, but eventually ticket is blocked by CORE-6504.

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              reactosfanboy reactosfanboy
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: