Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following functions are used in dynamic linking.
Function | Description |
---|---|
AddDllDirectory | Adds a directory to the process DLL search path. |
DisableThreadLibraryCalls | Disables thread attach and thread detach notifications for the specified DLL. |
DllMain | An optional entry point into a DLL. |
FreeLibrary | Decrements the reference count of the loaded DLL. When the reference count reaches zero, the module is unmapped from the address space of the calling process. |
FreeLibraryAndExitThread | Decrements the reference count of a loaded DLL by one, and then calls ExitThread to terminate the calling thread. |
GetDllDirectory | Retrieves the application-specific portion of the search path used to locate DLLs for the application. |
GetModuleFileName | Retrieves the fully qualified path for the file containing the specified module. |
GetModuleFileNameEx | Retrieves the fully qualified path for the file containing the specified module. |
GetModuleHandle | Retrieves a module handle for the specified module. |
GetModuleHandleEx | Retrieves a module handle for the specified module. |
GetProcAddress | Retrieves the address of an exported function or variable from the specified DLL. |
LoadLibrary | Maps the specified executable module into the address space of the calling process. |
LoadLibraryEx | Maps the specified executable module into the address space of the calling process. |
LoadPackagedLibrary | Maps the specified packaged module and its dependencies into the address space of the calling process. Only Windows Store apps can call this function. |
RemoveDllDirectory | Removes a directory that was added to the process DLL search path by using AddDllDirectory. |
SetDefaultDllDirectories | Specifies a default set of directories to search when the calling process loads a DLL. |
SetDllDirectory | Modifies the search path used to locate DLLs for the application. |
Obsolete Functions
These functions are provided only for compatibility with 16-bit versions of Windows.