mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-26 16:37:30 +03:00
505e8a9d21
git-svn-id: svn://kolibrios.org@8325 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
417 B
C
18 lines
417 B
C
#ifndef __LOAD_LIB_H_LINCLUDED_
|
|
#define __LOAD_LIB_H_INCLUDED_
|
|
|
|
// macros '@use_library' and 'load_library' defined in file 'load_lib.mac'
|
|
|
|
asm{
|
|
@use_library mem.Alloc,mem.Free,mem.ReAlloc,dll.Load
|
|
}
|
|
|
|
bool LoadLibrary(const char* /*lib_name*/, char* /*lib_path*/, const char* /*system_path*/, void* /*myimport*/)
|
|
{
|
|
asm{
|
|
load_library [ebp+8], [ebp+12], [ebp+16], [ebp+20]
|
|
}
|
|
return true;
|
|
}
|
|
|
|
#endif |