#user32
Who would have thought that PowerShell on Windows has a C# compiler built-in?

PS> Add-Type @"
public class myclass {
[DllImport("user32.dll")] public static extern bool GetCursorPos(...
...
}
"@
PS> $null=[myclass]::GetCursorPos(...

etc.

In-memory compilation. Amazing.

#PowerShell #dotnet
November 19, 2026 at 5:06 PM
ever wanted to pare your program down to just the syscalls, User edition?
(user as in user32.dll NtUser etc)
November 12, 2026 at 5:07 AM
something to make user32 calls, like creating a window etc, but without user32, from a native subsystem application. ended up finding out the issue was csrss itself rejecting non-self native programs in a way other than checking the header
November 9, 2026 at 3:47 AM
Why Windows 11 Still Uses 50-Year-Old File Names: The Hidden Compatibility Rules Behind System32

Windows 11 26H2 features modern interfaces, Fluent icons, rounded corners, and years of technological improvements. Yet deep inside its System32 folder, some of the operating system’s most important…
Why Windows 11 Still Uses 50-Year-Old File Names: The Hidden Compatibility Rules Behind System32
Windows 11 26H2 features modern interfaces, Fluent icons, rounded corners, and years of technological improvements. Yet deep inside its System32 folder, some of the operating system’s most important files still carry names inherited from computing standards developed in the 1970s. Files such as kernel32.dll, user32.dll, and ntoskrnl.exe follow an old naming convention known as 8.3 filenames, a restriction originally associated with MS-DOS. While these names might look outdated on a modern computer, Microsoft has compelling reasons to preserve them. The explanation comes down to one of Windows’ defining characteristics: backward compatibility.
undercodenews.com
October 18, 2026 at 12:36 PM
そのテレメトリVB6なの!!?!?wwwwww
すごいな やっぱりapi使いこなせた方がいいよな。。。(user32から練習してます)

色々"質問できる"ような時代になった分、粘り強く開発したいなと思ってます💪
October 12, 2026 at 12:52 AM
Alas alas, GTA5e no go!
Not sure which error is the fatal one:

kwin_wayland_wrapper[3098]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
steam[4696]: wine: Call from 00006FFFFFFA3E98 to unimplemented function USER32.dll.GetDpiAwarenessContextForProcess, aborting
any sizable chance GTA5e is a top game of 2025? ha
March 5, 2025 at 5:13 AM
Spent 5 hours tracking down why my DLL was linking user32. And fixing it with a 1 line change. Hows your day so far?
July 18, 2024 at 9:34 PM
@laciexpaero.bsky.social You could have modified this part on Windows Aviro to use your build numbers (shell32.dll.mui). You can also modify the build number displayed in safe mode by modifying user32.dll.mui.
July 17, 2025 at 1:03 PM
Nice lib, concise with a very smart design!

I’m a Registry kinda guy for Windows apps, though. I will likely take some of your ideas and make a lib! Maybe even put it out on GitHub.

I have a nice WinUtils lib too for Native Window Operations (the low level stuff in user32.all like SendMessage).
April 17, 2025 at 5:51 PM
"I mean, it's a simple app. Surely we can implement it without calls to USER32...."
May 25, 2025 at 5:24 PM
Wine을 이용해서 Windows 실행 파일을 곧바로 실행할 수 있는 Linux 배포판이 필요하다는 주장. 황당하긴 한데, 이유를 들어보면 말은 된다. Linux 실행 파일들은 죄다 _libc_ 를 링크해서 시스템 콜을 직접 하기에 실행 파일들이 불안정(unstable)한 반면, 사유 소프트웨어인 Windows는 처음부터 실행 파일이 직접 시스템 콜을 하게 하지 않고 _user32.dll_ 같은 시스템에서 제공되는 라이브러리를 동적 링크하여 쓰도록 하기 때문에 Windows 95 시절의 실행 파일도 Windows 11에서 […]
Original post on hackers.pub
hackers.pub
March 30, 2025 at 8:56 PM
I spent ages on trying to diagnose this, "perhaps something during init is changing the cursor?" was one thought.

The docs (learn.microsoft.com/en-us/window...) call this cursor IDC_APPSTARTING.

I first set a breakpoint on user32!SetCursor looking at every caller, and what was being passed to it.
About Cursors - Win32 apps
This topic discusses the standard cursors.
learn.microsoft.com
December 2, 2024 at 3:55 AM
Any of y'all handy with reverse-engineering the Win32 API? I'm trying to suss out what calls are happening in SystemSettings.exe within 'Accessibility > Mouse pointer and touch' when the mouse pointer style changes

I know a call to User32.dll,SystemParametersInfoA() is made, but not which params...
August 10, 2024 at 3:02 AM
this is a classic! the first public signs of this system were included in winvos 22621:

HELLO!

The OS is booted to RunLevel 3 (CLIENTCORE).

Services are STARTED at this run level.

All OneCore compliant apps can run.
GUI apps (that depend on user32 and gdi only) can run.

..

'njoy.
May 2, 2025 at 7:26 PM
Time to start posting on here - I tweeted this on Saturday & it got 500+ likes, ON A WEEKEND!!

PowerShell to find out when a computer was last shutdown cleanly and why. Example is from AVD auto shutdown

get-winevent -FilterHashtable @{ ProviderName = 'user32' ; id =1074 } -MaxEvents 1|ft -wrap
October 22, 2024 at 1:22 PM
Walking through a PowerShell keylogger, which uses some inline C# to snag Win32 API functions from user32.dll, and funnels back keys and system info to a Tor onion address -- a nifty little challenge from LetsDefend (now part of Hack The Box 🔥) Video: youtu.be/bF72IEGzniU
November 25, 2025 at 3:32 PM