Go to the source code of this file.
◆ DoSetPriority()
Definition at line 26 of file priority.c.
DWORD GetSelectedProcessId(void)
BOOL WINAPI SetPriorityClass(IN HANDLE hProcess, IN DWORD dwPriorityClass)
_In_ BOOL _In_ HANDLE hProcess
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
#define IDS_MSG_UNABLECHANGEPRIORITY
WDF_INTERRUPT_PRIORITY priority
TCHAR szTitle[MAX_LOADSTRING]
#define IDS_MSG_TASKMGRWARNING
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
LPWSTR GetLastErrorText(LPWSTR lpszBuf, DWORD dwSize)
#define IDS_MSG_WARNINGCHANGEPRIORITY
#define PROCESS_SET_INFORMATION
Referenced by TaskManagerWndProc().