Subversion Repositories Kolibri OS

Rev

Rev 6473 | Rev 6511 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6473 Rev 6502
Line 3346... Line 3346...
3346
=============== Function 68, subfunction 19 - load DLL. ==============
3346
=============== Function 68, subfunction 19 - load DLL. ==============
3347
======================================================================
3347
======================================================================
3348
Parameters:
3348
Parameters:
3349
  * eax = 68 - function number
3349
  * eax = 68 - function number
3350
  * ebx = 19 - subfunction number
3350
  * ebx = 19 - subfunction number
3351
  * ecx = pointer to ASCIIZ-string with the full path to DLL
3351
  * ecx = pointer to the string with path to DLL,
-
 
3352
    rules of path forming can be found in function 70 description.
3352
Returned value:
3353
Returned value:
3353
  * eax = 0 - failed
3354
  * eax = 0 - failed
3354
  * otherwise eax = pointer to DLL export table
3355
  * otherwise eax = pointer to DLL export table
3355
Remarks:
3356
Remarks:
3356
  * Export table is an array of structures of 2 dword's, terminated
3357
  * Export table is an array of structures of 2 dword's, terminated
Line 3850... Line 3851...
3850
  * +16 = +0x10: dword: pointer to data
3851
  * +16 = +0x10: dword: pointer to data
3851
  * +20 = +0x14: ?: path - zero terminated string
3852
  * +20 = +0x14: ?: path - zero terminated string
3852
    or
3853
  or
3853
  * +20 = +0x14: byte: 0
3854
  * +20 = +0x14: byte: 0
3854
  * +21 = +0x15: dword: pointer to string
3855
  * +21 = +0x15: dword: pointer to string
-
 
3856
Case sensitivity depends on filesystem.
3855
You may set encoding to UTF-16LE by starting the string with a byte with value 2,
3857
To set the encoding, put at the start of the string a byte with next values:
-
 
3858
  * 1 = cp866
-
 
3859
  * 2 = UTF-16LE
-
 
3860
  * 3 = UTF-8
3856
otherwise will be used cp866. Case sensitivity depends on filesystem.
3861
  otherwise will be used cp866.
3857
Format of filename:
3862
Format of filename:
3858
  /base/number/dir1/dir2/.../dirn/file,
3863
  /base/number/dir1/dir2/.../dirn/file,
3859
where base/number identifies device, on which file is located:
3864
where base/number identifies device, on which file is located:
3860
  * RD/1 = ramdisk
3865
  * RD/1 = ramdisk
3861
  * FD/1 = first floppy drive,
3866
  * FD/1 = first floppy drive,