Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

# dkcDLL.h

Go to the documentation of this file.

    00001
    00010 #ifndef dkutil_c_DLL__h
    00011 #define dkutil_c_DLL__h
    00012
    00013 #include "dkcOSIndependent.h"
    00014
    00015 typedef struct dkc_DLL{
    00016 #ifdef _WIN32
    00017         HMODULE mHandle;
    00018 #else
    00019         void *mHandle;
    00020 #endif
    00021 }DKC_DLL;
    00022
    00024 DKC_EXTERN DKC_DLL* WINAPI dkcLoadLibrary(const char *filename);
    00026 DKC_EXTERN void* WINAPI dkcGetProcAddress(DKC_DLL *dll,const char *id);
    00028 DKC_EXTERN int WINAPI dkcUnloadLibrary(DKC_DLL **pp);
    00029
    00030 #endif //end of include once