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

#define KLDRDYLD_VALIDATE_HKLDRMOD ( hMod   ) 

Value:

do  { \
        if (    (hMod) == NIL_HKLDRMOD \
            ||  (hMod)->u32MagicHead != KLDRDYMOD_MAGIC \
            ||  (hMod)->u32MagicTail != KLDRDYMOD_MAGIC) \
        { \
            return KERR_INVALID_HANDLE; \
        } \
    } while (0)
Return / crash validation of a module handle argument.

Definition at line 330 of file kLdrInternal.h.

Referenced by kLdrDyldGetFilename(), kLdrDyldGetName(), kLdrDyldQuerySymbol(), and kLdrDyldUnload().


Generated by  Doxygen 1.6.0   Back to index