| Last change
 on this file since 4697 was             4164, checked in by bird, 25 years ago | 
        
          | 
Merged in the Grace branch. New Win32k!
 | 
        
          | File size:
            1.5 KB | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: libWin32kInstalled.c,v 1.2 2000-09-02 21:08:11 bird Exp $ | 
|---|
| 2 | * | 
|---|
| 3 | * libWin32kInstalled - checks if Win32k is installed or not. | 
|---|
| 4 | * | 
|---|
| 5 | * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no) | 
|---|
| 6 | * | 
|---|
| 7 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 8 | * | 
|---|
| 9 | */ | 
|---|
| 10 |  | 
|---|
| 11 |  | 
|---|
| 12 | /******************************************************************************* | 
|---|
| 13 | *   Header Files                                                               * | 
|---|
| 14 | *******************************************************************************/ | 
|---|
| 15 | #define INCL_DOSERRORS | 
|---|
| 16 |  | 
|---|
| 17 |  | 
|---|
| 18 | /******************************************************************************* | 
|---|
| 19 | *   Internal Functions                                                         * | 
|---|
| 20 | *******************************************************************************/ | 
|---|
| 21 | #include <os2.h> | 
|---|
| 22 | #include "win32k.h" | 
|---|
| 23 |  | 
|---|
| 24 |  | 
|---|
| 25 | /******************************************************************************* | 
|---|
| 26 | *   Global Variables                                                           * | 
|---|
| 27 | *******************************************************************************/ | 
|---|
| 28 | extern BOOL     fInited; | 
|---|
| 29 |  | 
|---|
| 30 |  | 
|---|
| 31 | /** | 
|---|
| 32 | * Checks if Win32k is installed or not. | 
|---|
| 33 | * @returns     TRUE:   Win32k is installed. | 
|---|
| 34 | *              FALSE:  Win32k is not installed. (or not inited yet) | 
|---|
| 35 | * @status      completely implelemented. | 
|---|
| 36 | * @author      knut st. osmundsen (knut.stange.osmundsen@mynd.no) | 
|---|
| 37 | * @remark      The caller is reponsible for having called the libInit | 
|---|
| 38 | *              function before this call to get a decent result. | 
|---|
| 39 | */ | 
|---|
| 40 | BOOL   APIENTRY  libWin32kInstalled(void) | 
|---|
| 41 | { | 
|---|
| 42 | return fInited; | 
|---|
| 43 | } | 
|---|
| 44 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.