enumproc.h
来自「大量windows shell编程例子」· C头文件 代码 · 共 43 行
H
43 行
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
#include <shellapi.h>
#include <tlhelp32.h> // Win95 only
// #include <psapi.h> // WinNT only
typedef BOOL (CALLBACK *LPENUMPROC)( LPPROCSTRUCT, LPARAM );
typedef struct tagPROCSTRUCT {
CHAR szExeName[MAX_PATH];
DWORD processID;
CHAR szExeType[20];
} PROCSTRUCT, FAR *LPPROCSTRUCT;
#ifdef __cplusplus
extern "C" {
#endif
BOOL APIENTRY EnumProcess(
LPENUMPROC lpfunc,
LPARAM lParam
);
UINT APIENTRY EnumProcessToTreeView(
HWND hwndTree
);
INT APIENTRY GetExeBinaryFormat(
LPCSTR szExeName,
LPSTR szExeType
);
#ifdef __cplusplus
}
#endif
/* End of file: EnumProc.h */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?