Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
fc55bf3b
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fc55bf3b
编写于
9月 23, 2000
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tlhelp32.h is currently missing in Mingw32 (release 2.95.2 and 2.95.2-1)
上级
03dbae0d
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
136 addition
and
0 deletion
+136
-0
ms/tlhelp32.h
ms/tlhelp32.h
+136
-0
未找到文件。
ms/tlhelp32.h
0 → 100644
浏览文件 @
fc55bf3b
/*
tlhelp32.h - Include file for Tool help functions.
Written by Mumit Khan <khan@nanotech.wisc.edu>
This file is part of a free library for the Win32 API.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef _TLHELP32_H
#define _TLHELP32_H
#ifdef __cplusplus
extern
"C"
{
#endif
#define HF32_DEFAULT 1
#define HF32_SHARED 2
#define LF32_FIXED 0x1
#define LF32_FREE 0x2
#define LF32_MOVEABLE 0x4
#define MAX_MODULE_NAME32 255
#define TH32CS_SNAPHEAPLIST 0x1
#define TH32CS_SNAPPROCESS 0x2
#define TH32CS_SNAPTHREAD 0x4
#define TH32CS_SNAPMODULE 0x8
#define TH32CS_SNAPALL (TH32CS_SNAPHEAPLIST|TH32CS_SNAPPROCESS|TH32CS_SNAPTHREAD|TH32CS_SNAPMODULE)
#define TH32CS_INHERIT 0x80000000
typedef
struct
tagHEAPLIST32
{
DWORD
dwSize
;
DWORD
th32ProcessID
;
DWORD
th32HeapID
;
DWORD
dwFlags
;
}
HEAPLIST32
,
*
PHEAPLIST32
,
*
LPHEAPLIST32
;
typedef
struct
tagHEAPENTRY32
{
DWORD
dwSize
;
HANDLE
hHandle
;
DWORD
dwAddress
;
DWORD
dwBlockSize
;
DWORD
dwFlags
;
DWORD
dwLockCount
;
DWORD
dwResvd
;
DWORD
th32ProcessID
;
DWORD
th32HeapID
;
}
HEAPENTRY32
,
*
PHEAPENTRY32
,
*
LPHEAPENTRY32
;
typedef
struct
tagPROCESSENTRY32W
{
DWORD
dwSize
;
DWORD
cntUsage
;
DWORD
th32ProcessID
;
DWORD
th32DefaultHeapID
;
DWORD
th32ModuleID
;
DWORD
cntThreads
;
DWORD
th32ParentProcessID
;
LONG
pcPriClassBase
;
DWORD
dwFlags
;
WCHAR
szExeFile
[
MAX_PATH
];
}
PROCESSENTRY32W
,
*
PPROCESSENTRY32W
,
*
LPPROCESSENTRY32W
;
typedef
struct
tagPROCESSENTRY32
{
DWORD
dwSize
;
DWORD
cntUsage
;
DWORD
th32ProcessID
;
DWORD
th32DefaultHeapID
;
DWORD
th32ModuleID
;
DWORD
cntThreads
;
DWORD
th32ParentProcessID
;
LONG
pcPriClassBase
;
DWORD
dwFlags
;
CHAR
szExeFile
[
MAX_PATH
];
}
PROCESSENTRY32
,
*
PPROCESSENTRY32
,
*
LPPROCESSENTRY32
;
typedef
struct
tagTHREADENTRY32
{
DWORD
dwSize
;
DWORD
cntUsage
;
DWORD
th32ThreadID
;
DWORD
th32OwnerProcessID
;
LONG
tpBasePri
;
LONG
tpDeltaPri
;
DWORD
dwFlags
;
}
THREADENTRY32
,
*
PTHREADENTRY32
,
*
LPTHREADENTRY32
;
typedef
struct
tagMODULEENTRY32W
{
DWORD
dwSize
;
DWORD
th32ModuleID
;
DWORD
th32ProcessID
;
DWORD
GlblcntUsage
;
DWORD
ProccntUsage
;
BYTE
*
modBaseAddr
;
DWORD
modBaseSize
;
HMODULE
hModule
;
WCHAR
szModule
[
MAX_MODULE_NAME32
+
1
];
WCHAR
szExePath
[
MAX_PATH
];
}
MODULEENTRY32W
,
*
PMODULEENTRY32W
,
*
LPMODULEENTRY32W
;
typedef
struct
tagMODULEENTRY32
{
DWORD
dwSize
;
DWORD
th32ModuleID
;
DWORD
th32ProcessID
;
DWORD
GlblcntUsage
;
DWORD
ProccntUsage
;
BYTE
*
modBaseAddr
;
DWORD
modBaseSize
;
HMODULE
hModule
;
char
szModule
[
MAX_MODULE_NAME32
+
1
];
char
szExePath
[
MAX_PATH
];
}
MODULEENTRY32
,
*
PMODULEENTRY32
,
*
LPMODULEENTRY32
;
BOOL
WINAPI
Heap32First
(
LPHEAPENTRY32
,
DWORD
,
DWORD
);
BOOL
WINAPI
Heap32ListFirst
(
HANDLE
,
LPHEAPLIST32
);
BOOL
WINAPI
Heap32ListNext
(
HANDLE
,
LPHEAPLIST32
);
BOOL
WINAPI
Heap32Next
(
LPHEAPENTRY32
);
BOOL
WINAPI
Module32First
(
HANDLE
,
LPMODULEENTRY32
);
BOOL
WINAPI
Module32FirstW
(
HANDLE
,
LPMODULEENTRY32W
);
BOOL
WINAPI
Module32Next
(
HANDLE
,
LPMODULEENTRY32
);
BOOL
WINAPI
Module32NextW
(
HANDLE
,
LPMODULEENTRY32W
);
BOOL
WINAPI
Process32First
(
HANDLE
,
LPPROCESSENTRY32
);
BOOL
WINAPI
Process32FirstW
(
HANDLE
,
LPPROCESSENTRY32W
);
BOOL
WINAPI
Process32Next
(
HANDLE
,
LPPROCESSENTRY32
);
BOOL
WINAPI
Process32NextW
(
HANDLE
,
LPPROCESSENTRY32W
);
BOOL
WINAPI
Thread32First
(
HANDLE
,
LPTHREADENTRY32
);
BOOL
WINAPI
Thread32Next
(
HANDLE
,
LPTHREADENTRY32
);
BOOL
WINAPI
Toolhelp32ReadProcessMemory
(
DWORD
,
LPCVOID
,
LPVOID
,
DWORD
,
LPDWORD
);
HANDLE
WINAPI
CreateToolhelp32Snapshot
(
DWORD
,
DWORD
);
#ifdef UNICODE
#define LPMODULEENTRY32 LPMODULEENTRY32W
#define LPPROCESSENTRY32 LPPROCESSENTRY32W
#define MODULEENTRY32 MODULEENTRY32W
#define Module32First Module32FirstW
#define Module32Next Module32NextW
#define PMODULEENTRY32 PMODULEENTRY32W
#define PPROCESSENTRY32 PPROCESSENTRY32W
#define PROCESSENTRY32 PROCESSENTRY32W
#define Process32First Process32FirstW
#define Process32Next Process32NextW
#endif
/* UNICODE */
#ifdef __cplusplus
}
#endif
#endif
/* _TLHELP32_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录