大网数据广告活动
Windows 系统接口

Dynamic-Link Library Functions

· 52CE 我爱测

The following functions are used in dynamic linking.

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.

LoadModule

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。