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

KI32 kLdrModNumberOfImports ( PKLDRMOD  pMod,
const void *  pvBits 
)

Get the number of import modules.

Returns:
The number of import modules. -1 if something really bad happens.
Parameters:
pMod The module.
pvBits Optional pointer to bits returned by kLdrModGetBits(). This can be used by some module interpreters to reduce memory consumption.

Definition at line 496 of file kLdrMod.c.

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

Referenced by BasicTestsSub2(), and kldrDyldModLoadPrerequisites().

{
    KLDRMOD_VALIDATE(pMod);
    return pMod->pOps->pfnNumberOfImports(pMod, pvBits);
}


Generated by  Doxygen 1.6.0   Back to index