2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
11 char *DefaultConfig
= ARCH
"\\AROSBootstrap.conf";
15 #define VERSION_FORMAT "%s / Windows %lu.%lu build %lu %S"
17 #define VERSION_FORMAT "%s / Windows %lu.%lu build %lu %s"
20 char *getosversion(const char *bsver
)
22 static char SystemVersion
[512];
24 winver
.dwOSVersionInfoSize
= sizeof(winver
);
25 GetVersionEx(&winver
);
26 sprintf(SystemVersion
, VERSION_FORMAT
, bsver
, winver
.dwMajorVersion
, winver
.dwMinorVersion
, winver
.dwBuildNumber
, winver
.szCSDVersion
);
31 char *namepart(char *name
)
36 while((name
[-1] != ':') && (name
[-1] != '\\') && (name
[-1] != '/'))
44 LPTSTR
StrConvert(const char *src
)
46 int len
= strlen(src
) + 1;
47 LPTSTR res
= malloc(len
* 2);
51 if (!MultiByteToWideChar(CP_ACP
, 0, src
, -1, res
, len
))