Go to the source code of this file.
◆ ProcessPage_OnSetAffinity()
Definition at line 26 of file affinity.c.
27{
29 WCHAR strErrorText[260];
31
33
34 if (dwProcessId == 0)
35 return;
36
42 return;
43 }
48 }
49}
static INT_PTR CALLBACK AffinityDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
HANDLE hProcessAffinityHandle
#define IDD_AFFINITY_DIALOG
#define IDS_MSG_ACCESSPROCESSAFF
HANDLE WINAPI OpenProcess(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN DWORD dwProcessId)
#define PROCESS_QUERY_INFORMATION
#define PROCESS_SET_INFORMATION
TCHAR szTitle[MAX_LOADSTRING]
DWORD GetSelectedProcessId(void)
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)
#define DialogBoxW(i, t, p, f)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
#define MAKEINTRESOURCEW(i)
Referenced by TaskManagerWndProc().