windows-nt/Source/XPSP1/NT/inetsrv/iis/utils/pwalker/pwalker.h
2020-09-26 16:20:57 +08:00

38 lines
587 B
C

#pragma warning(disable:4057 4100 4201 4214 4514)
#define WIN32_LEAN_AND_MEAN
#define STRICT
#include <windows.h>
#include <commctrl.h>
#include <commdlg.h>
#include <windowsx.h>
#include <tlhelp32.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
#pragma hdrstop
HLOCAL
GetLocalTaskListNt(
LPDWORD pdwNumTasks
);
BOOL
GetLocalTaskNameNt(
HLOCAL hTaskList,
DWORD dwItem,
LPSTR lpszTaskName,
DWORD cbMaxTaskName
);
DWORD
GetLocalTaskProcessIdNt(
HLOCAL hTaskList,
DWORD dwItem
);
void
FreeLocalTaskListNt(
HLOCAL hTaskList
);