libloaderapi.h header

This header is used by multiple technologies. For more information, see:

libloaderapi.h contains the following programming interfaces:

Functions

 
AddDllDirectory

Adds a directory to the process DLL search path.
DisableThreadLibraryCalls

Disables the DLL_THREAD_ATTACH and DLL_THREAD_DETACH notifications for the specified dynamic-link library (DLL).
EnumResourceLanguagesExA

Enumerates language-specific resources, of the specified type and name, associated with a specified binary module. Extends EnumResourceLanguages by allowing more control over the enumeration. (ANSI)
EnumResourceLanguagesExW

Enumerates language-specific resources, of the specified type and name, associated with a specified binary module. Extends EnumResourceLanguages by allowing more control over the enumeration. (Unicode)
EnumResourceNamesA

Enumerates resources of a specified type within a binary module. (ANSI)
EnumResourceNamesExA

Enumerates resources of a specified type that are associated with a specified binary module. The search can include both an LN file and its associated .mui files, or it can be limited in several ways. (ANSI)
EnumResourceNamesExW

Enumerates resources of a specified type that are associated with a specified binary module. The search can include both an LN file and its associated .mui files, or it can be limited in several ways. (Unicode)
EnumResourceNamesW

Enumerates resources of a specified type within a binary module. (Unicode)
EnumResourceTypesExA

Enumerates resource types associated with a specified binary module. (ANSI)
EnumResourceTypesExW

Enumerates resource types associated with a specified binary module. (Unicode)
FindResourceExW

Determines the location of the resource with the specified type, name, and language in the specified module. (FindResourceExW)
FindResourceW

Determines the location of a resource with the specified type and name in the specified module. (FindResourceW)
FindStringOrdinal

Locates a Unicode string (wide characters) in another Unicode string for a non-linguistic comparison.
FreeLibrary

Frees the loaded dynamic-link library (DLL) module and, if necessary, decrements its reference count.
FreeLibraryAndExitThread

Decrements the reference count of a loaded dynamic-link library (DLL) by one, then calls ExitThread to terminate the calling thread.
FreeResource

Decrements (decreases by one) the reference count of a loaded resource. When the reference count reaches zero, the memory occupied by the resource is freed.
GetModuleFileNameA

Retrieves the fully qualified path for the file that contains the specified module. The module must have been loaded by the current process. (ANSI)
GetModuleFileNameW

Retrieves the fully qualified path for the file that contains the specified module. The module must have been loaded by the current process. (Unicode)
GetModuleHandleA

Retrieves a module handle for the specified module. The module must have been loaded by the calling process. (ANSI)
GetModuleHandleExA

Retrieves a module handle for the specified module and increments the module's reference count unless GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT is specified. The module must have been loaded by the calling process. (ANSI)
GetModuleHandleExW

Retrieves a module handle for the specified module and increments the module's reference count unless GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT is specified. The module must have been loaded by the calling process. (Unicode)
GetModuleHandleW

Retrieves a module handle for the specified module. The module must have been loaded by the calling process. (Unicode)
GetProcAddress

Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
LoadLibraryA

Loads the specified module into the address space of the calling process. (LoadLibraryA)
LoadLibraryExA

Loads the specified module into the address space of the calling process. (LoadLibraryExA)
LoadLibraryExW

Loads the specified module into the address space of the calling process. (LoadLibraryExW)
LoadLibraryW

Loads the specified module into the address space of the calling process. (LoadLibraryW)
LoadResource

Retrieves a handle that can be used to obtain a pointer to the first byte of the specified resource in memory.
LockResource

Retrieves a pointer to the specified resource in memory.
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. This search path is used when LoadLibraryEx is called with no LOAD_LIBRARY_SEARCH flags.
SizeofResource

Retrieves the size, in bytes, of the specified resource.

Callback functions

 
ENUMRESLANGPROCA

An application-defined callback function used with the EnumResourceLanguages and EnumResourceLanguagesEx functions. (ANSI)
ENUMRESLANGPROCW

An application-defined callback function used with the EnumResourceLanguages and EnumResourceLanguagesEx functions. (ANSI)
ENUMRESNAMEPROCA

An application-defined callback function used with the EnumResourceNames and EnumResourceNamesEx functions. (ANSI)
ENUMRESNAMEPROCW

An application-defined callback function used with the EnumResourceNames and EnumResourceNamesEx functions. (Unicode)
ENUMRESTYPEPROCA

An application-defined callback function used with the EnumResourceTypes and EnumResourceTypesEx functions. (ANSI)
ENUMRESTYPEPROCW

An application-defined callback function used with the EnumResourceTypes and EnumResourceTypesEx functions. (Unicode)