mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-17 21:04:45 +00:00
6051bc55d0
Changes to ease code compilation in GCC. Disk_t and HDD contain a std::string and for this reason they need a proper constructor, ZeroMemory is not guaranteed to work.
12 lines
403 B
C
12 lines
403 B
C
#pragma once
|
|
|
|
#define REGLOAD(a,b) RegLoadValue(TEXT(REG_CONFIG),a,1,b)
|
|
#define REGSAVE(a,b) RegSaveValue(TEXT(REG_CONFIG),a,1,b)
|
|
|
|
BOOL RegLoadString (LPCTSTR,LPCTSTR,BOOL,LPTSTR,DWORD);
|
|
BOOL RegLoadValue (LPCTSTR,LPCTSTR,BOOL,DWORD *);
|
|
void RegSaveString (LPCTSTR,LPCTSTR,BOOL,LPCTSTR);
|
|
void RegSaveValue (LPCTSTR,LPCTSTR,BOOL,DWORD);
|
|
|
|
BOOL RegLoadValue (LPCTSTR,LPCTSTR,BOOL,BOOL *);
|