Dynamic-Link Library Functions

The following functions are used in dynamic linking.

FunctionDescription
DisableThreadLibraryCallsDisables thread attach and thread detach notifications for the specified DLL.
DllMainAn optional entry point into a DLL.
FreeLibraryDecrements 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.
FreeLibraryAndExitThreadDecrements the reference count of a loaded DLL by one, and then calls ExitThread to terminate the calling thread.
GetDllDirectoryRetrieves the application-specific portion of the search path used to locate DLLs for the application.
GetModuleFileNameRetrieves the fully-qualified path for the file containing the specified module.
GetModuleFileNameExRetrieves the fully-qualified path for the file containing the specified module.
GetModuleHandleRetrieves a module handle for the specified module.
GetModuleHandleExRetrieves a module handle for the specified module.
GetProcAddressRetrieves the address of an exported function or variable from the specified DLL.
LoadLibraryMaps the specified executable module into the address space of the calling process.
LoadLibraryExMaps the specified executable module into the address space of the calling process.
SetDllDirectoryModifies 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.

LoadModule

Send comments about this topic to Microsoft

Build date: 11/19/2009

Tags : silkroad


Page view tracker