reactos/base/applications/cmdutils/tasklist/tasklist.h
2023-07-09 13:06:47 +03:00

30 lines
667 B
C

/*
* PROJECT: ReactOS Tasklist Command
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Displays a list of currently running processes on the computer.
* COPYRIGHT: Copyright 2020 He Yang <1160386205@qq.com>
*/
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
#include <assert.h>
#define WIN32_NO_STATUS
#include <windows.h>
#include <ntndk.h>
#include <strsafe.h>
#include <conutils.h>
#include "resource.h"
#define NT_SYSTEM_QUERY_MAX_RETRY 5
#define COLUMNWIDTH_IMAGENAME 25
#define COLUMNWIDTH_PID 8
#define COLUMNWIDTH_SESSION 11
#define COLUMNWIDTH_MEMUSAGE 12