mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-04 14:21:55 +03:00
21 lines
294 B
C
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
|
||
|
}
|