forked from KolibriOS/kolibrios
[kernel][dll] Doxycomment load_file function
git-svn-id: svn://kolibrios.org@9034 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
51562c329d
commit
436e509ba2
@ -428,21 +428,15 @@ proc read_file stdcall,file_name:dword, buffer:dword, off:dword,\
|
|||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
|
|
||||||
; description
|
|
||||||
; allocate kernel memory and loads the specified file
|
|
||||||
;
|
|
||||||
; param
|
|
||||||
; file_name= path to file
|
|
||||||
;
|
|
||||||
; retval
|
|
||||||
; eax= file image in kernel memory
|
|
||||||
; ebx= size of file
|
|
||||||
;
|
|
||||||
; warging
|
|
||||||
; You mast call kernel_free() to delete each file
|
|
||||||
; loaded by the load_file() function
|
|
||||||
|
|
||||||
align 4
|
align 4
|
||||||
|
; @brief Allocate kernel memory and loads the specified file
|
||||||
|
;
|
||||||
|
; @param file_name Path to file
|
||||||
|
;
|
||||||
|
; @returns File image in kernel memory in `eax` and size of file in `ebx`
|
||||||
|
;
|
||||||
|
; @warning You must call kernel_free() to delete each file loaded by the
|
||||||
|
; load_file() function
|
||||||
proc load_file stdcall, file_name:dword
|
proc load_file stdcall, file_name:dword
|
||||||
locals
|
locals
|
||||||
attr dd ?
|
attr dd ?
|
||||||
|
Loading…
Reference in New Issue
Block a user