Ignore:
Timestamp:
Feb 21, 2001, 8:47:59 AM (25 years ago)
Author:
bird
Message:

CallGate changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/lib/libWin32kSetOptions.c

    r5131 r5224  
    1 /* $Id: libWin32kSetOptions.c,v 1.3 2001-02-14 12:46:56 bird Exp $
     1/* $Id: libWin32kSetOptions.c,v 1.4 2001-02-21 07:47:59 bird Exp $
    22 *
    33 * libWin32kSetOptions - Sets the changable options of win32k.sys the options.
    44 *
    5  * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
     5 * Copyright (c) 2000-2001 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
    66 *
    77 * Project Odin Software License can be found in LICENSE.TXT
     
    2323#include <os2.h>
    2424#include "win32k.h"
    25 
    26 
    27 /*******************************************************************************
    28 *   Global Variables                                                           *
    29 *******************************************************************************/
    30 extern BOOL     fInited;
    31 extern HFILE    hWin32k;
     25#include "libPrivate.h"
    3226
    3327
     
    6559        ULONG           cbData = 0UL;
    6660
     61        Param.hdr.cb    = sizeof(Param);
     62        Param.hdr.rc    = ERROR_NOT_SUPPORTED;
    6763        Param.pOptions  = pOptions;
    68         Param.rc = ERROR_INVALID_PARAMETER;
    6964
     65        if (usCGSelector)
     66            return libCallThruCallGate(K32_SETOPTIONS, &Param);
    7067        rc = DosDevIOCtl(hWin32k,
    7168                         IOCTL_W32K_K32,
     
    7572
    7673        if (rc == NO_ERROR)
    77             rc = Param.rc;
     74            rc = Param.hdr.rc;
    7875    }
    7976    else
Note: See TracChangeset for help on using the changeset viewer.