WID LOGO


LEGAL NOTICE

I do not take responsibility for any misuse of these information in any way.

The purpose of these series are only to understand Windows better, there is a lot to discover.

Information

There will be some terms I use you may not understand, so I wanted to explain them in here first.

Levels

The depth level (it's what I say) of the functions, as the level get higher, the functions get less documented and harder to understand.


9qe38utdBJ Discord


What is LoadLibrary?

LoadLibrary is a Windows API function used for loading modules into programs.

The usage is pretty simple, you include Windows.h into your project, then you can use it.

There are 4 widely used LoadLibrary functions

Even if they look like seperate, they all end up in LoadLibraryExW finally, wanna learn how? Keep reading.


Here is a basic diagram to show what functions are called in order to load a module into a process (maybe not exact represantation).

The path was given absolute and no flags were given Diagram

Now that it may look confusing, but I will try to explain each function one by one.


LoadLibrary

Not a function by itself but a macro instead, resolved into one of the according functions LoadLibraryA or LoadLibraryW depending on your character set being Unicode or Multi-byte respectively.

S
Description
Automated archival mirror of github.com/paskalian/WID_LoadLibrary
Readme MIT
392 KiB
Languages
C++ 69%
C 30.3%
Assembly 0.7%