Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
1.2 KiB
C
31 lines
1.2 KiB
C
///////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// ¼³Á¤ ÆÄÀÏ ÇÔ¼ö
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////////////////////
|
|
#ifndef _RYL_SERVER_SETUP_INIFunc
|
|
#define _RYL_SERVER_SETUP_INIFunc
|
|
|
|
#include <atlstr.h>
|
|
#include <windows.h>
|
|
#include <tchar.h>
|
|
|
|
inline const TCHAR* BOOLToString(BOOL bValue) { return bValue ? _T("1") : _T("0"); }
|
|
|
|
bool WriteStringToReg(const TCHAR *FileName_In, const TCHAR *Section_In,
|
|
const TCHAR *KeyName_In, const TCHAR *Value_In);
|
|
|
|
bool ReadStringFromReg(const TCHAR *FileName_In, const TCHAR *Section_In,
|
|
const TCHAR *KeyName_In, TCHAR *Value_Out, int nMaxBuffer);
|
|
|
|
bool ReadStringFromReg(const TCHAR *FileName_In, const TCHAR *Section_In,
|
|
const TCHAR *KeyName_In, CString& Value_Out, int nMaxBuffer = 512);
|
|
|
|
bool WriteStructToReg(const TCHAR *FileName_In, const TCHAR *Section_In,
|
|
const TCHAR *KeyName_In, void *Value_In, int Size_in);
|
|
|
|
bool ReadStructFromReg(const TCHAR *FileName_In, const TCHAR *Section_In,
|
|
const TCHAR *KeyName_In, void *Value_Out, int Size_in);
|
|
|
|
#endif
|