Changeset 9616 for trunk/include/custombuild.h
- Timestamp:
- Jan 5, 2003, 1:30:58 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/custombuild.h
r9596 r9616 147 147 void WIN32API ODIN_DisableLXDllLoading(); 148 148 149 150 //****************************************************************************** 151 //Install a handler that is called before the entrypoint of a dll (DLL_PROCESS_ATTACH) 152 //****************************************************************************** 153 typedef void (* WIN32API ODINPROC_DLLLOAD)(HMODULE hModule); 154 155 BOOL 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 //****************************************************************************** 169 FARPROC WIN32API ODIN_SetProcAddress(HMODULE hModule, LPCSTR lpszProc, FARPROC pfnNewProc); 170 149 171 #endif /*__CUSTOMBUILD_H__*/ 150 172
Note:
See TracChangeset
for help on using the changeset viewer.