Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

35 lines
735 B

//
// task list structure
//
#define TITLE_SIZE 64
#define PROCESS_SIZE 16
typedef struct _TASK_LIST {
DWORD dwProcessId;
DWORD dwInheritedFromProcessId;
BOOL flags;
HANDLE hwnd;
LPSTR lpWinsta;
LPSTR lpDesk;
int iImage;
CHAR ProcessName[PROCESS_SIZE];
CHAR WindowTitle[TITLE_SIZE];
} TASK_LIST, *PTASK_LIST;
typedef struct _TASK_LIST_ENUM {
PTASK_LIST tlist;
DWORD numtasks;
LPSTR lpWinsta;
LPSTR lpDesk;
} TASK_LIST_ENUM, *PTASK_LIST_ENUM;
DWORD
GetTaskList(
PTASK_LIST pTask,
DWORD dwNumTasks
);
BOOL
KillProcess(
PTASK_LIST tlist,
BOOL fForce
);