// Standard COM callback to see if the DLL can now be unloaded. // This is actually never called on 16 bits (via the // CoFreeUnusedLibraries call), but would work if that // mechanism is ever fixed. STDAPI DllCanUnloadNow(void) { HRESULT hRetval = ResultFromScode(S_FALSE); // We tell if we can unload by simply checking if // our process list of instance DLL objects is // empty. If not empty, we can not unload. if(CProcess::CanUnloadNow()) { hRetval = ResultFromScode(S_OK); DLL_TRACE("DllCanUnloadNow is TRUE\n"); } return(hRetval); }
void DispatchKeyValue_Post( edict_t *pentKeyvalue, KeyValueData *pkvd ) { DLL_TRACE(pfnKeyValue, P_POST, ("classname=%s keyname=%s value=%s", pkvd->szClassName, pkvd->szKeyName, pkvd->szValue)); RETURN_META(MRES_IGNORED); }
void DispatchSave_Post( edict_t *pent, SAVERESTOREDATA *pSaveData ) { DLL_TRACE(pfnSave, P_POST, ("")); RETURN_META(MRES_IGNORED); }
void DispatchBlocked_Post( edict_t *pentBlocked, edict_t *pentOther ) { DLL_TRACE(pfnBlocked, P_POST, ("")); RETURN_META(MRES_IGNORED); }
void DispatchTouch_Post( edict_t *pentTouched, edict_t *pentOther ) { DLL_TRACE(pfnTouch, P_POST, ("")); RETURN_META(MRES_IGNORED); }
void DispatchUse_Post( edict_t *pentUsed, edict_t *pentOther ) { DLL_TRACE(pfnUse, P_POST, ("")); RETURN_META(MRES_IGNORED); }
void DispatchThink_Post( edict_t *pent ) { DLL_TRACE(pfnThink, P_POST, ("")); RETURN_META(MRES_IGNORED); }
// from SDK dlls/game.cpp: void GameDLLInit_Post( void ) { DLL_TRACE(pfnGameInit, P_POST, ("")); RETURN_META(MRES_IGNORED); }