mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Hide ncpa.cpl from control panel
svn path=/trunk/; revision=36783
This commit is contained in:
@@ -420,7 +420,8 @@ static BOOL CreateCPanelEnumList(
|
||||
|
||||
if (!(wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
|
||||
strcpy(p, wfd.cFileName);
|
||||
SHELL_RegisterCPanelApp((IEnumIDList*)iface, szPath);
|
||||
if (strcmp(wfd.cFileName, "ncpa.cpl"))
|
||||
SHELL_RegisterCPanelApp((IEnumIDList*)iface, szPath);
|
||||
}
|
||||
} while(FindNextFileA(hFile, &wfd));
|
||||
FindClose(hFile);
|
||||
|
||||
Reference in New Issue
Block a user