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

Last change on this file since 6496 was 5224, checked in by bird, 25 years ago

CallGate changes.

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