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

static KLDRADDR kldrModPESize ( PKLDRMOD  pMod  )  [static]

Get the size of the mapped module.

Returns:
The size of the mapped module (in bytes).
Parameters:
pMod The module.

Definition at line 1901 of file kLdrModPE.c.

References KLDRMODPE::Hdrs, and KLDRMOD::pvData.

{
    PKLDRMODPE pModPE = (PKLDRMODPE)pMod->pvData;
    return pModPE->Hdrs.OptionalHeader.SizeOfImage;
}


Generated by  Doxygen 1.6.0   Back to index