Ejemplo n.º 1
0
//  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);
}
Ejemplo n.º 2
0
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);
}
Ejemplo n.º 3
0
void DispatchSave_Post( edict_t *pent, SAVERESTOREDATA *pSaveData ) {
	DLL_TRACE(pfnSave, P_POST, (""));
	RETURN_META(MRES_IGNORED);
}
Ejemplo n.º 4
0
void DispatchBlocked_Post( edict_t *pentBlocked, edict_t *pentOther ) {
	DLL_TRACE(pfnBlocked, P_POST, (""));
	RETURN_META(MRES_IGNORED);
}
Ejemplo n.º 5
0
void DispatchTouch_Post( edict_t *pentTouched, edict_t *pentOther ) {
	DLL_TRACE(pfnTouch, P_POST, (""));
	RETURN_META(MRES_IGNORED);
}
Ejemplo n.º 6
0
void DispatchUse_Post( edict_t *pentUsed, edict_t *pentOther ) {
	DLL_TRACE(pfnUse, P_POST, (""));
	RETURN_META(MRES_IGNORED);
}
Ejemplo n.º 7
0
void DispatchThink_Post( edict_t *pent ) {
	DLL_TRACE(pfnThink, P_POST, (""));
	RETURN_META(MRES_IGNORED);
}
Ejemplo n.º 8
0
// from SDK dlls/game.cpp:
void GameDLLInit_Post( void ) {
	DLL_TRACE(pfnGameInit, P_POST, (""));
	RETURN_META(MRES_IGNORED);
}