2013-10-27 12:59:02 +01:00
|
|
|
|
|
|
|
struct sysdir
|
|
|
|
{
|
|
|
|
char name[64];
|
|
|
|
char path[64];
|
|
|
|
} sysdir;
|
|
|
|
|
|
|
|
|
|
|
|
:int SetAddApplDir(dword tName, tPath)
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
strcpy(#sysdir.name, tName);
|
|
|
|
strcpy(#sysdir.path, tPath);
|
2014-03-14 20:06:48 +01:00
|
|
|
debugln(#sysdir.name);
|
|
|
|
debugln(#sysdir.path);
|
2013-10-27 12:59:02 +01:00
|
|
|
$mov eax, 30
|
|
|
|
$mov ebx, 3
|
|
|
|
ECX = #sysdir;
|
|
|
|
$int 0x40
|
|
|
|
}
|