Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Where can I find a table of all functions inside in kernel32.dll?

Where can I find a table of all functions inside in kernel32.dll?

Scheduled Pinned Locked Moved C / C++ / MFC
questionwindows-admin
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tommy Svensson
    wrote on last edited by
    #1

    Hi all, I'm trying to add a splash screen to a dll inside DllMain (process_attach) and the docs says there are lots to think about. E.g I can not call functions outside kernel32.dll, etc... Now I need to know where I can find a table of all functions listed in kernel32.dll? Anyone? The docs also says I can not call any registry functions... by if I want to do this, how can I go on?! /Tommy

    E M D 3 Replies Last reply
    0
    • T Tommy Svensson

      Hi all, I'm trying to add a splash screen to a dll inside DllMain (process_attach) and the docs says there are lots to think about. E.g I can not call functions outside kernel32.dll, etc... Now I need to know where I can find a table of all functions listed in kernel32.dll? Anyone? The docs also says I can not call any registry functions... by if I want to do this, how can I go on?! /Tommy

      E Offline
      E Offline
      ElCachubrey
      wrote on last edited by
      #2

      if you mean name of this function then you can use Depends application from VC tools.

      1 Reply Last reply
      0
      • T Tommy Svensson

        Hi all, I'm trying to add a splash screen to a dll inside DllMain (process_attach) and the docs says there are lots to think about. E.g I can not call functions outside kernel32.dll, etc... Now I need to know where I can find a table of all functions listed in kernel32.dll? Anyone? The docs also says I can not call any registry functions... by if I want to do this, how can I go on?! /Tommy

        M Offline
        M Offline
        Mike Dimmick
        wrote on last edited by
        #3

        The reason for the restriction is that you don't know what order the loader will decide to initialise DLLs in, and you shouldn't use any DLL that hasn't been initialised. The only DLL it's always safe to use at this point is kernel32.dll, because that's where the Win32 bit of process setup lives - it's guaranteed to be initialised first. A large amount of the GUI code lives in User32.dll and Gdi32.dll, so you shouldn't do what you're proposing to do. If you must do it, delay it until some other function in your DLL is called. Personally I would advise not doing it at all. For information on how the .NET Framework breaks these rules, and the impact that has, read Chris Brumme's blog entry[^] on the subject.

        1 Reply Last reply
        0
        • T Tommy Svensson

          Hi all, I'm trying to add a splash screen to a dll inside DllMain (process_attach) and the docs says there are lots to think about. E.g I can not call functions outside kernel32.dll, etc... Now I need to know where I can find a table of all functions listed in kernel32.dll? Anyone? The docs also says I can not call any registry functions... by if I want to do this, how can I go on?! /Tommy

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Tommy Svensson wrote: Now I need to know where I can find a table of all functions listed in kernel32.dll? Anyone? Depends.exe dumpbin /exports are two that I know of.


          Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups