[FONTEXT] Restore folder icon

This commit is contained in:
Mark Jansen
2021-09-05 21:19:10 +02:00
parent 9276b3f1bf
commit 4acf1007df

View File

@@ -54,7 +54,9 @@ STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
STDAPI DllRegisterServer()
{
WCHAR Path[MAX_PATH] = { 0 };
static const char DesktopIniContents[] = "[.ShellClassInfo]\r\nCLSID={BD84B380-8CA2-1069-AB1D-08000948F534}\r\n";
static const char DesktopIniContents[] = "[.ShellClassInfo]\r\n"
"CLSID={BD84B380-8CA2-1069-AB1D-08000948F534}\r\n"
"IconResource=%SystemRoot%\\system32\\shell32.dll,-39\r\n"; // IDI_SHELL_FONTS_FOLDER
HANDLE hFile;
HRESULT hr;