/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Sound Volume Control
- * FILE: subsys/system/sndvol32/misc.c
+ * FILE: base/applications/sndvol32/misc.c
* PROGRAMMERS: Thomas Weidenmueller <w3seek@reactos.com>
*/
return Ret;
}
+
+DWORD
+GetStyleValue(VOID)
+{
+ HKEY hOptionsKey;
+ DWORD dwStyle = 0, dwSize;
+
+ if (RegOpenKeyEx(hAppSettingsKey,
+ AppOptionsKey,
+ 0,
+ KEY_READ,
+ &hOptionsKey) == ERROR_SUCCESS)
+ {
+ dwSize = sizeof(DWORD);
+ RegQueryValueEx(hOptionsKey,
+ StyleValue,
+ NULL,
+ NULL,
+ (LPBYTE)&dwStyle,
+ &dwSize);
+
+ RegCloseKey(hOptionsKey);
+ }
+
+ return dwStyle;
+}