Subversion Repositories Kolibri OS

Rev

Rev 4113 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.  
  2. struct sysdir
  3. {
  4.    char name[64];
  5.    char path[64];
  6. } sysdir;
  7.  
  8.  
  9. :int SetAddApplDir(dword tName, tPath)
  10. {
  11.         int i;
  12.         strcpy(#sysdir.name, tName);
  13.         strcpy(#sysdir.path, tPath);
  14.         debugln(#sysdir.name);
  15.         debugln(#sysdir.path);
  16.         $mov eax, 30
  17.         $mov ebx, 3
  18.         ECX = #sysdir;
  19.         $int 0x40
  20. }
  21.