/programs/cmm/lib/added_sysdir.c/added_sysdir.c |
---|
0,0 → 1,20 |
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 |
} |