Go to the source code of this file.
◆ DoSetPriority()
Definition at line 11 of file priority.c.
12{
17
19
20 if (dwProcessId == 0)
21 return;
22
26 return;
27
29
31 {
35 return;
36 }
37
39 {
43 }
44
46}
#define IDS_MSG_UNABLECHANGEPRIORITY
#define IDS_MSG_TASKMGRWARNING
#define IDS_MSG_WARNINGCHANGEPRIORITY
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
BOOL WINAPI SetPriorityClass(IN HANDLE hProcess, IN DWORD dwPriorityClass)
#define PROCESS_SET_INFORMATION
TCHAR szTitle[MAX_LOADSTRING]
_In_ BOOL _In_ HANDLE hProcess
DWORD GetSelectedProcessId(void)
BOOL ConfirmMessageBox(HWND hWnd, LPCWSTR Text, LPCWSTR Title, UINT Type)
LPWSTR GetLastErrorText(LPWSTR lpszBuf, DWORD dwSize)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
Referenced by TaskManagerWndProc().