Changeset 5118 for trunk/src


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

Added force preload, exefix and apifix options.

Location:
trunk/src/win32k/k32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/k32/k32QueryOptionsStatus.cpp

    r5086 r5118  
    1 /* $Id: k32QueryOptionsStatus.cpp,v 1.6 2001-02-10 11:11:44 bird Exp $
     1/* $Id: k32QueryOptionsStatus.cpp,v 1.7 2001-02-11 23:43:00 bird Exp $
    22 *
    33 * k32QueryOptionsStatus  - Queries the options and/or the status of
     
    137137        TmpOptions.fNoLoader    = options.fNoLoader;
    138138        TmpOptions.fDllFixes    = options.fDllFixes;
     139        TmpOptions.fExeFixes    = options.fExeFixes;
     140        TmpOptions.fForcePreload= options.fForcePreload;
     141        TmpOptions.fApiEnh      = options.fApiEnh;
    139142        TmpOptions.cbSwpHeapMax = options.cbSwpHeapMax;
    140143        TmpOptions.cbResHeapMax = options.cbResHeapMax;
  • trunk/src/win32k/k32/k32SetOptions.cpp

    r5086 r5118  
    1 /* $Id: k32SetOptions.cpp,v 1.6 2001-02-10 11:11:44 bird Exp $
     1/* $Id: k32SetOptions.cpp,v 1.7 2001-02-11 23:43:00 bird Exp $
    22 *
    33 * k32SetOptions - Sets the changable options of win32k.sys the options.
     
    130130        if (TmpOptions.fDllFixes > 1)
    131131            return ERROR_INVALID_PARAMETER;
     132        if (TmpOptions.fExeFixes > 1)
     133            return ERROR_INVALID_PARAMETER;
     134        if (TmpOptions.fForcePreload > 1)
     135            return ERROR_INVALID_PARAMETER;
     136        if (TmpOptions.fApiEnh > 1)
     137            return ERROR_INVALID_PARAMETER;
    132138        if (TmpOptions.cbSwpHeapMax > (32768*1024) || TmpOptions.cbSwpHeapMax < options.cbSwpHeapInit)
    133139            return ERROR_INVALID_PARAMETER;
     
    160166        options.fNoLoader   = TmpOptions.fNoLoader;     /* No loader stuff. !FIXME! We should import / functions even if this flag is set!!! */
    161167        options.fDllFixes   = TmpOptions.fDllFixes;     /* Enables the long DLL name and non .DLL extention fixes. */
     168        options.fExeFixes   = TmpOptions.fExeFixes;     /* Enables EXE files to export entry points. */
     169        options.fForcePreload=TmpOptions.fForcePreload; /* Forces the loader to preload executable images. Handy for ICAT Ring-3 debugging. */
     170        options.fApiEnh     = TmpOptions.fApiEnh;       /* Enables the API enhancements */
    162171
    163172        options.cbSwpHeapMax = TmpOptions.cbSwpHeapMax; /* Maximum heapsize. */
     
    170179         */
    171180        LDRClearSem();
    172 
    173181    }
    174182
Note: See TracChangeset for help on using the changeset viewer.