Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
457 B

#include <windows.h>
#include <shellapi.h>
#include <shlwapi.h>
#define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0]))
int __cdecl main(int argc, char *argv[], char *envp[])
{
WCHAR szExplorerPath[MAX_PATH];
if (GetWindowsDirectory(szExplorerPath, ARRAYSIZE(szExplorerPath)) &&
PathAppend(szExplorerPath, L"explorer.exe"))
{
ShellExecute(NULL, NULL, szExplorerPath, NULL, NULL, SW_SHOWNORMAL);
}
return 0;
}