AppleWin/source/frontends/qapple/registry.h
Andrea Odetti 43f0b140a6 Rename settings.* -> registry.*
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-24 17:34:37 +00:00

13 lines
535 B
C++

#ifndef REGISTRY_H
#define REGISTRY_H
#include "linux/windows/wincompat.h"
#include <string>
BOOL RegLoadString (LPCTSTR section, LPCTSTR key, BOOL peruser, LPTSTR buffer, DWORD chars);
BOOL RegLoadValue (LPCTSTR section, LPCTSTR key, BOOL peruser, DWORD *value);
BOOL RegLoadValue (LPCTSTR section, LPCTSTR key, BOOL peruser, BOOL *value);
void RegSaveString (LPCTSTR section, LPCTSTR key, BOOL peruser, const std::string & buffer);
void RegSaveValue (LPCTSTR section, LPCTSTR key, BOOL peruser, DWORD value);
#endif // REGISTRY_H