Ignore:
Timestamp:
Feb 12, 2001, 12:44:38 AM (25 years ago)
Author:
bird
Message:

Added force preload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/ldr/myldrOpen.cpp

    r5086 r5119  
    1 /* $Id: myldrOpen.cpp,v 1.14 2001-02-10 11:11:46 bird Exp $
     1/* $Id: myldrOpen.cpp,v 1.15 2001-02-11 23:43:51 bird Exp $
    22 *
    33 * myldrOpen - ldrOpen.
    44 *
    5  * Copyright (c) 1998-2000 knut st. osmundsen
     5 * Copyright (c) 1998-2001 knut st. osmundsen <knut.stange.osmundsen@mynd.no>
    66 *
    77 * Project Odin Software License can be found in LICENSE.TXT
     
    763763ret:
    764764    /** @sketch
     765     *  If successful and force preload enabled and media flag pointer valid Then
     766     *      Set removable media.
    765767     *  Return rc.
    766768     */
     769    if (rc == NO_ERROR && isForcePreloadEnabled() && pfl)
     770        *pfl &= ~0x1000UL; /* 0x1000 is the fixed media flag. */
     771
    767772    return rc;
    768773}
Note: See TracChangeset for help on using the changeset viewer.