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

POUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK callback function

· 52CE 我爱测

Pointer to a function that is used by a debugger to obtain function table entries from a provider that was registered using RtlAddFunctionTable.

Pointer to a function that is used by a debugger to obtain function table entries from a provider that was registered using RtlAddFunctionTable. This must be exported from a DLL and named OUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK_EXPORT_NAME. It will be invoked by a debugger from within the debugger's process.

Syntax

typedef
DWORD
OUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK (
    _In_ HANDLE Process,
    _In_ PVOID TableAddress,
    _Out_ PDWORD Entries,
    _Outptr_result_buffer_(*Entries) PRUNTIME_FUNCTION* Functions
    );
typedef OUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK *POUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK;

Parameters

Process [in]

Handle to the target process.

TableAddress [in]

Address of the DYNAMIC_FUNCTION_TABLE in the target process.

Entries [out]

Returned count of entries in the Functions array.

Functions [out]

Returned pointer to an array of RUNTIME_FUNCTION entries. This array must be allocated using HeapAlloc on the heap returned from GetProcessHeap.

Return value

NTSTATUS code indicating if the function was able to successfully obtain the Functions array. STATUS_SUCCESS (0x0) indicates success.

Remarks

Out of process function table dlls must be registered in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\KnownFunctionTableDlls to be loaded by the Visual Studio or Windows debuggers.

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 09/17/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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