Subversion Repositories Kolibri OS

Rev

Rev 6250 | Blame | 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 SetAdditionalSystemDirectory(dword tName, tPath)
  10. {
  11.         int i;
  12.         strcpy(#sysdir.name, tName);
  13.         strcpy(#sysdir.path, tPath);
  14.         $mov eax, 30
  15.         $mov ebx, 3
  16.         ECX = #sysdir;
  17.         $int 0x40
  18. }
  19.