6 char *DefaultConfig
= "boot\\AROSBootstrap.conf";
10 #define VERSION_FORMAT "%s / Windows %lu.%lu build %lu %S"
12 #define VERSION_FORMAT "%s / Windows %lu.%lu build %lu %s"
15 char *getosversion(const char *bsver
)
17 static char SystemVersion
[512];
19 winver
.dwOSVersionInfoSize
= sizeof(winver
);
20 GetVersionEx(&winver
);
21 sprintf(SystemVersion
, VERSION_FORMAT
, bsver
, winver
.dwMajorVersion
, winver
.dwMinorVersion
, winver
.dwBuildNumber
, winver
.szCSDVersion
);
26 char *namepart(char *name
)
31 while((name
[-1] != ':') && (name
[-1] != '\\') && (name
[-1] != '/'))
39 LPTSTR
StrConvert(const char *src
)
41 int len
= strlen(src
) + 1;
42 LPTSTR res
= malloc(len
* 2);
46 if (!MultiByteToWideChar(CP_ACP
, 0, src
, -1, res
, len
))