From 436e509ba228adf0e442dd13982e3fdb072c1c85 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Thu, 8 Jul 2021 18:39:49 +0000 Subject: [PATCH] [kernel][dll] Doxycomment load_file function git-svn-id: svn://kolibrios.org@9034 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/dll.inc | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/kernel/trunk/core/dll.inc b/kernel/trunk/core/dll.inc index d273727b06..5083255dc1 100644 --- a/kernel/trunk/core/dll.inc +++ b/kernel/trunk/core/dll.inc @@ -428,21 +428,15 @@ proc read_file stdcall,file_name:dword, buffer:dword, off:dword,\ ret 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 +; @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 locals attr dd ?