Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Tarragon corberan

🏠
Working from home
Block or report user

Report or block corberan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@corberan
corberan / get_window_info_powershell.ps1
Last active Nov 10, 2018
powershell 和 winapi 的交互,获取窗口大小及边框大小
View get_window_info_powershell.ps1
using namespace System;
using namespace System.Diagnostics;
using namespace System.Runtime.InteropServices;
param (
[Parameter(Mandatory = $True)]
[string]$hWndHexStr
)
Add-Type -TypeDefinition @"
You can’t perform that action at this time.