Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
587 B

#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
);