win32 icon indicating copy to clipboard operation
win32 copied to clipboard

Haskell support for the Win32 API

Results 21 win32 issues
Sort by recently updated
recently updated
newest added

I'm following [this tutorial for making a button][1], and I'm up to this part: ```c (HINSTANCE)GetWindowLong(m_hwnd, GWL_HINSTANCE) ``` What should I call from this library's API to achieve the same...

minor issue

Going off the [official docs][1], if I want to watch a directory for changes (and respond to them), I need a [wait function][2]. However, I couldn't find any equivalents to...

new feature

I've been wanting raw input directly from windows, but I can't find any of the bindings explained here: https://docs.microsoft.com/en-nz/windows/desktop/inputdev/raw-input

In convension of win32 API, `PHANDLE` means "A pointer to a HANDLE"[1]. However in [System/Win32/DebugApi.hsc](https://github.com/haskell/win32/blob/master/System/Win32/DebugApi.hsc) `PHANDLE` was wrongly used to represent "process handle". Maybe some more precise tokens such as...

help wanted
minor issue

Hello, I'm working on a small debugger for windows which means I need to pass creation flags that I cannot pass with the `process` library. I found it strange that...

help wanted

Hi, when I try `cabal install` I get this error: ``` Configuring Win32-2.3.1.0... cabal: Missing dependencies on foreign libraries: * Missing (or bad) header file: HsWin32.h * Missing C libraries:...

need information
fridge

I get unsafe reentries when trying to use either trackPopupMenuEx or trackPopupMenu. They are fixed when I use a safe imports instead. Also the Microsoft documentation calls the return value...

help wanted
need information
fridge

The implementation for insertMenuItem does not call pokeFMask. As a result, calls to insertMenuItem always fail.

help wanted
need information
fridge

I was surprised to find that these aren't the definitions for `HWND` and `HANDLE` `newtype HWND = HWND { unsafeHWNDToHANDLE :: HANDLE }` `newtype HANDLE = HANDLE { unsafeHANDLEToPtr ::...

help wanted
minor issue

- [x] TODO: `OsString` variant See https://github.com/haskell/filepath/issues/221 base/ghc implementations: https://hackage.haskell.org/package/ghc-internal-9.1001.0/docs/src//GHC.Internal.System.Environment.html Base runs two calls to `c_GetEnvironmentVariable` to get a more accurate allocation. But it's an additional call.