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

static int krdrRTFileProtect ( PKRDR  pRdr,
void *  pvBase,
KU32  cSegments,
PCKLDRSEG  paSegments,
KBOOL  fUnprotectOrProtect 
) [static]

Definition at line 187 of file kRdrFile-iprt.cpp.

References KERR_INVALID_PARAMETER, krdrRTFileFindPrepExact(), and krdrRTFileGenericProtect().

    PKRDRFILE        pRdrFile = (PKRDRFILE)pRdr;
    PKRDRFILEPREP    pPrep = krdrRTFileFindPrepExact(pRdrFile, pvBase);
    if (!pPrep)

    return krdrRTFileGenericProtect(pRdr, pPrep, cSegments, paSegments, fUnprotectOrProtect);

Generated by  Doxygen 1.6.0   Back to index