Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

int kLdrModCallTerm ( PKLDRMOD  pMod,
KUPTR  uHandle 
)

Call the module termination function of a mapped module (if any).

Returns:
0 on success or no term function, non-zero on invalid pMod.
Parameters:
pMod The module.
uHandle The module handle to use if any of the term functions requires the module handle.
Remarks:
Termination function failure will be ignored by the module interpreter.

Definition at line 638 of file kLdrMod.c.

References KLDRMOD_VALIDATE, KLDRMODOPS::pfnCallTerm, and KLDRMOD::pOps.

Referenced by kldrDyldModCallTerm().

{
    KLDRMOD_VALIDATE(pMod);
    return pMod->pOps->pfnCallTerm(pMod, uHandle);
}


Generated by  Doxygen 1.6.0   Back to index