Restructure repository to include all source folders
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>
This commit is contained in:
30
Server/ToolProject/SeverSetupDlg/misc/INIFunctions.h
Normal file
30
Server/ToolProject/SeverSetupDlg/misc/INIFunctions.h
Normal file
@@ -0,0 +1,30 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Լ<EFBFBD>
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#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
|
||||
Reference in New Issue
Block a user