kolibrios/programs/cmm/installer/add_appl_dir.c
Kirill Lipatov (Leency) 86577b5602 Kolibri N9 Installer Alpha
git-svn-id: svn://kolibrios.org@4113 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-27 11:59:02 +00:00

21 lines
294 B
C

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