From eaff620ca0af9f7bf9f812f2936e3c98511eab3e Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Fri, 13 Feb 2004 12:11:14 +0000 Subject: Proper DLL termination svn-id: r12853 --- backends/wince/CEDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/wince/CEDevice.cpp b/backends/wince/CEDevice.cpp index 68c559da59..d0236cbf72 100644 --- a/backends/wince/CEDevice.cpp +++ b/backends/wince/CEDevice.cpp @@ -64,7 +64,7 @@ bool CEDevice::enableHardwareKeyMapping() { GAPIOpenInput(); _portrait_keys = GAPIGetDefaultKeys(GX_NORMALKEYS); _hasGAPIMapping = true; - CloseHandle(GAPI_handle); + FreeLibrary(GAPI_handle); return true; } @@ -79,7 +79,7 @@ bool CEDevice::disableHardwareKeyMapping() { if (!GAPICloseInput) return false; GAPICloseInput(); - CloseHandle(GAPI_handle); + FreeLibrary(GAPI_handle); return true; } -- cgit v1.2.3