source: trunk/src/win32k/lib/libTerm.c@ 2830

Last change on this file since 2830 was 2830, checked in by bird, 26 years ago

Initial coding.

File size: 1.4 KB
Line 
1/* $Id: libTerm.c,v 1.1 2000-02-19 16:52:38 bird Exp $
2 *
3 * Terminates the Win32k library functions.
4 *
5 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.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_DOSERROR
16#define INCL_DOSFILEMGR
17#define INCL_DOSDEVICES
18
19
20/*******************************************************************************
21* Internal Functions *
22*******************************************************************************/
23#include <os2.h>
24
25
26/*******************************************************************************
27* Global Variables *
28*******************************************************************************/
29extern static BOOL fInited;
30extern HFILE hWin32k;
31
32
33/**
34 * Initiates the library.
35 * @returns OS/2 return code.
36 * @status completely implemented.
37 * @author knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
38 */
39APIRET APIENTRY libWin32kTerm(void)
40{
41 if (fInited)
42 DosClose(hWin32k);
43 hWin32k = NULLHANDLE;
44 fInited = FALSE;
45 return NO_ERROR;
46}
47
48
49
50
Note: See TracBrowser for help on using the repository browser.