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/libWin32kQueryOptionsStatus.c

    r4164 r5224  
    1 /* $Id: libWin32kQueryOptionsStatus.c,v 1.2 2000-09-02 21:08:12 bird Exp $
     1/* $Id: libWin32kQueryOptionsStatus.c,v 1.3 2001-02-21 07:47:59 bird Exp $
    22 *
    33 * libWin32kQueryOptionsStatus - Queries the options and/or the status of
    44 *                               Win32k.sys driver.
    55 *
    6  * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
     6 * Copyright (c) 2000-2001 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
    77 *
    88 * Project Odin Software License can be found in LICENSE.TXT
     
    2424#include <os2.h>
    2525#include "win32k.h"
    26 
    27 
    28 /*******************************************************************************
    29 *   Global Variables                                                           *
    30 *******************************************************************************/
    31 extern BOOL     fInited;
    32 extern HFILE    hWin32k;
     26#include "libPrivate.h"
    3327
    3428
     
    7165        ULONG           cbData = 0UL;
    7266
     67        Param.hdr.cb    = sizeof(Param);
     68        Param.hdr.rc    = ERROR_NOT_SUPPORTED;
    7369        Param.pOptions  = pOptions;
    7470        Param.pStatus   = pStatus;
    75         Param.rc = ERROR_INVALID_PARAMETER;
    7671
     72        if (usCGSelector)
     73            return libCallThruCallGate(K32_QUERYOPTIONSSTATUS, &Param);
    7774        rc = DosDevIOCtl(hWin32k,
    7875                         IOCTL_W32K_K32,
     
    8279
    8380        if (rc == NO_ERROR)
    84             rc = Param.rc;
     81            rc = Param.hdr.rc;
    8582    }
    8683    else
Note: See TracChangeset for help on using the changeset viewer.