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

ULONG _System _DLL_InitTerm ( HMODULE  hmod,
ULONG  fFlags 
)

The DLL main function.

Returns:
TRUE / FALSE.
Parameters:
hmod The dll handle.
fFlags Flags.

Definition at line 48 of file kLdr-os2.c.

References kldrInit(), and kldrTerm().

{
    switch (fFlags)
    {
        case 0:
        {
            int rc = kldrInit();
            return rc == 0;
        }

        case 1:
            kldrTerm();
            return TRUE;

        default:
            return FALSE;
    }
}


Generated by  Doxygen 1.6.0   Back to index