Ignore:
Timestamp:
Jan 5, 2003, 1:30:58 PM (23 years ago)
Author:
sandervl
Message:

added more custom build functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/custombuild.h

    r9596 r9616  
    147147void WIN32API ODIN_DisableLXDllLoading();
    148148
     149
     150//******************************************************************************
     151//Install a handler that is called before the entrypoint of a dll (DLL_PROCESS_ATTACH)
     152//******************************************************************************
     153typedef void (* WIN32API ODINPROC_DLLLOAD)(HMODULE hModule);
     154
     155BOOL    WIN32API ODIN_SetDllLoadCallback(ODINPROC_DLLLOAD pfnMyDllLoad);
     156
     157//******************************************************************************
     158// ODIN_SetProcAddress: Override a dll export
     159//
     160// Parameters:
     161//      HMODULE hModule         Module handle
     162//      LPCSTR  lpszProc        Export name or ordinal
     163//      FARPROC pfnNewProc      New export function address
     164//
     165// Returns: Success -> old address of export
     166//          Failure -> -1
     167//
     168//******************************************************************************
     169FARPROC WIN32API ODIN_SetProcAddress(HMODULE hModule, LPCSTR lpszProc, FARPROC pfnNewProc);
     170
    149171#endif  /*__CUSTOMBUILD_H__*/
    150172
Note: See TracChangeset for help on using the changeset viewer.