The easiest way to restart Windows Explorer shell is… sending a TerminateProcess with “2” as exit code.
HANDLE h_explorer;
h_explorer = OpenProcess(PROCESS_TERMINATE, false, pid);
TerminateProcess(h_explorer, 2);
CloseHandle(h_explorer);
The easiest way to restart Windows Explorer shell is… sending a TerminateProcess with “2” as exit code.
HANDLE h_explorer;
h_explorer = OpenProcess(PROCESS_TERMINATE, false, pid);
TerminateProcess(h_explorer, 2);
CloseHandle(h_explorer);
To clarify, in this context the word “band” means group of z-order
Really, it’s not that interesting, it is just to have a first blog post. 😛