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
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
(user as in user32.dll NtUser etc)
(user as in user32.dll NtUser etc)
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…
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…
すごいな やっぱりapi使いこなせた方がいいよな。。。(user32から練習してます)
色々"質問できる"ような時代になった分、粘り強く開発したいなと思ってます💪
すごいな やっぱりapi使いこなせた方がいいよな。。。(user32から練習してます)
色々"質問できる"ような時代になった分、粘り強く開発したいなと思ってます💪
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
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
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).
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).
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.
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.
I know a call to User32.dll,SystemParametersInfoA() is made, but not which params...
I know a call to User32.dll,SystemParametersInfoA() is made, but not which params...
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.
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.
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
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