kolibrios/programs/cmm/lib/added_sysdir.c
Kirill Lipatov (Leency) 036bb48ceb upload app_plus and add it to autobuild
git-svn-id: svn://kolibrios.org@6250 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-18 23:28:04 +00:00

21 lines
313 B
C

struct sysdir
{
char name[64];
char path[64];
} sysdir;
:int SetAdditionalSystemDirectory(dword tName, tPath)
{
int i;
strcpy(#sysdir.name, tName);
strcpy(#sysdir.path, tPath);
debugln(#sysdir.name);
debugln(#sysdir.path);
$mov eax, 30
$mov ebx, 3
ECX = #sysdir;
$int 0x40
}