2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
2021-10-18 20:23:46 +01:00
|
|
|
#include "Card.h"
|
2006-02-25 20:50:29 +00:00
|
|
|
|
2019-08-08 20:50:29 -07:00
|
|
|
#define REGLOAD(a, b) RegLoadValue(TEXT(REG_CONFIG), (a), TRUE, (b))
|
|
|
|
#define REGLOAD_DEFAULT(a, b, c) RegLoadValue(TEXT(REG_CONFIG), (a), TRUE, (b), (c))
|
|
|
|
#define REGSAVE(a, b) RegSaveValue(TEXT(REG_CONFIG), (a), TRUE, (b))
|
2014-08-14 17:48:38 +01:00
|
|
|
|
2019-08-08 20:50:29 -07:00
|
|
|
BOOL RegLoadString (LPCTSTR section, LPCTSTR key, BOOL peruser, LPTSTR buffer, DWORD chars);
|
|
|
|
BOOL RegLoadString (LPCTSTR section, LPCTSTR key, BOOL peruser, LPTSTR buffer, DWORD chars, LPCTSTR defaultValue);
|
|
|
|
BOOL RegLoadValue (LPCTSTR section, LPCTSTR key, BOOL peruser, DWORD* value);
|
|
|
|
BOOL RegLoadValue (LPCTSTR section, LPCTSTR key, BOOL peruser, DWORD* value, DWORD defaultValue);
|
2019-09-07 19:37:19 +01:00
|
|
|
void RegSaveString (LPCTSTR section, LPCTSTR key, BOOL peruser, const std::string & buffer);
|
2019-08-08 20:50:29 -07:00
|
|
|
void RegSaveValue (LPCTSTR section, LPCTSTR key, BOOL peruser, DWORD value);
|
2021-08-29 11:39:51 +01:00
|
|
|
|
2022-02-17 07:09:10 +11:00
|
|
|
std::string RegGetConfigSlotSection(UINT slot);
|
2021-08-29 11:39:51 +01:00
|
|
|
void RegDeleteConfigSlotSection(UINT slot);
|
2021-09-17 20:43:10 +01:00
|
|
|
void RegSetConfigSlotNewCardType(UINT slot, enum SS_CARDTYPE type);
|