kolibrios/programs/cmm/installer/add_appl_dir.c
Kirill Lipatov (Leency) bddab0d593 WebView 0.99.71: couple of fixes
git-svn-id: svn://kolibrios.org@4645 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-14 19:06:48 +00:00

21 lines
298 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);
debugln(#sysdir.name);
debugln(#sysdir.path);
$mov eax, 30
$mov ebx, 3
ECX = #sysdir;
$int 0x40
}