win32
win32 copied to clipboard
Haskell support for the Win32 API
Expose `FindData` struct: https://docs.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-win32_find_dataa ```C typedef struct _WIN32_FIND_DATAW { DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; DWORD dwReserved0; DWORD dwReserved1; WCHAR cFileName[MAX_PATH]; WCHAR cAlternateFileName[14]; DWORD...
Please build and upload documentation for Win32-2.14 to Hackage.
I can't retrieve registry value size. This is needed to be able to provide a buffer of the right size. See function here: https://learn.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regqueryvalueexa ## Current Behavior We can specify...
https://ci.appveyor.com/project/hvr/paths/builds/29725968/job/q88c02jr7k66i2sp Edit: `cabal` seems to use `hsc2hc-0.68.3`, maybe that's relevant. On x86-64 version it seems to build fine. ``` Preprocessing library for Win32-2.8.4.0.. Types.hsc: In function '_hsc2hs_test41': Types.hsc:217:20: error: storage...
These are the two functions required for ghcid, both of which are manually written out in https://github.com/ndmitchell/ghcid/blob/0d0a6aff30124bdb701191efd5170d3fadcb5cbe/src/Language/Haskell/Ghcid/Terminal.hs#L33-L39 and could be replaced with Win32 ideally.
Do not build using -j so cabal doesn't buffer
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-gettempfilenamew While working on a AFPP PR for the directory package I stumbled over the missing `openBinaryTempFile` function that's only defined for `FilePath`. Using Win32 bindings is probably easier than...
Is anyone currently working on adding support for the win32 functions needed to establish a TLS connection? Is this the appropriate place to add them, or would they belong in...
## Current Behavior Program hangs with trackPopupMenu(Ex). ## Steps to Reproduce (for bugs) My code is based on https://github.com/haskell/win32/blob/v2.6.1.0/examples/hello.lhs, except I do not do painting. ``` haskell wndProc :: Graphics.Win32.HWND...