System.Win32.DLL

Win32-2.6.1.0: A binding to part of the Win32 library

Copyright | (c) Alastair Reid 1997-2003
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell2010

System.Win32.DLL

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

disableThreadLibraryCalls :: HMODULE -> IO () Source #

c_DisableThreadLibraryCalls :: HMODULE -> IO Bool Source #

freeLibrary :: HMODULE -> IO () Source #

c_FreeLibrary :: HMODULE -> IO Bool Source #

c_FreeLibraryFinaliser :: FunPtr (HMODULE -> IO ()) Source #

getModuleFileName :: HMODULE -> IO String Source #

c_GetModuleFileName :: HMODULE -> LPTSTR -> Int -> IO Bool Source #

getModuleHandle :: Maybe String -> IO HMODULE Source #

c_GetModuleHandle :: LPCTSTR -> IO HMODULE Source #

getProcAddress :: HMODULE -> String -> IO Addr Source #

c_GetProcAddress :: HMODULE -> LPCSTR -> IO Addr Source #

loadLibrary :: String -> IO HINSTANCE Source #

c_LoadLibrary :: LPCTSTR -> IO HINSTANCE Source #

type LoadLibraryFlags = DWORD Source #

lOAD_LIBRARY_AS_DATAFILE :: LoadLibraryFlags Source #

lOAD_WITH_ALTERED_SEARCH_PATH :: LoadLibraryFlags Source #

loadLibraryEx :: String -> HANDLE -> LoadLibraryFlags -> IO HINSTANCE Source #

c_LoadLibraryEx :: LPCTSTR -> HANDLE -> LoadLibraryFlags -> IO HINSTANCE Source #

setDllDirectory :: Maybe String -> IO () Source #

c_SetDllDirectory :: LPTSTR -> IO BOOL Source #