Projet

Général

Profil

Fonctions implémentées

Liste des API Windows accessible:

Fonctions Windows
  Function Showwindowasync([Intptr] $Hwnd, [Int32] $Ncmdshow)
  Function Setactivewindow([Intptr] $Hwnd)
  Function Sendmessage([Intptr] $Hwnd, [Int32] $Message, [Int32] $Wparam, [Int32] $Lparam)
  Function Getconsolewindow()
  Function Bringwindowtotop([Intptr] $Hwnd)
  Function Setwindowpos([Intptr] $Hwnd, [Intptr] $Hwndinsertafter, [Int32] $X, [Int32] $Y, [Int32] $Cx, [Int32] $Cy, [Uint32] $Uflags)
  Function Setfocus([Intptr] $Hwnd)
  Function Switchtothiswindow([Intptr] $Hwnd, [Boolean] $Falttab=$False)
  Function Setforegroundwindow([Intptr] $Hwnd)
  Function Getwindowrect([Intptr] $Hwnd, [Ref] $Lprect)
  Function Movewindow([Intptr] $Hwnd, [Int32] $X, [Int32] $Y, [Int32] $Nwidth, [Int32] $Nheight,[Int32] $Brepaint)
  Function Findwindow([String] $Lpclassname, [String] $Lpwindowname)
  Function Gettopwindow([Intptr] $Hwnd)
  Function Callwindowproc([Intptr] $Lpprevwndfunc, [Intptr] $Hwnd, [Uint32] $Msg, [Intptr] $Wparam, [Intptr] $Lparam)
  Function Isiconic([Intptr] $Hwnd)
  Function Iswindowvisible([Intptr] $Hwnd)
  Function Iszoomed([Intptr] $Hwnd)
  Function Ishungappwindow([Intptr] $Hwnd)
  Function Getwindowlong([Intptr] $Hwnd, [Int32] $Nindex)
  Function Setwindowlong([Intptr] $Hwnd, [Int32] $Nindex, [Int32] $Dwnewlong)

Fonctions Menu
  Function Getsystemmenu([Intptr] $Hwnd, [Boolean] $Brevert)
  Function Appendmenu([Intptr] $Hmenu, [Uint32] $Uflags, [Uint32] $Uidnewitem,[String] $Lpnewitem)
  Function Removemenu([Intptr] $Hmenu, [Int32] $Uposition, [Int32] $Uflags)
  Function Getmenuitemcount([Intptr] $Hmenu)
  Function Enablemenuitem([Intptr] $Hmenu, [Int32] $Uidenableitem, [Int32] $Uenable)
  Function Getmenustate([Intptr] $Hmenu, [Uint32] $Uid, [Uint32] $Uflags)
  Function Insertmenu([Intptr] $Hmenu,[Uint32] $Position, [Uint32] $Flags, [Uint32] $Newid,[String] $Item )
  Function Destroymenu([Intptr] $Hmenu)
  Function Drawmenubar([Intptr] $Hmenu)

Fonction Tools
  Function Get-Lastwin32error
  Function Show-Pswindow([Intptr] $Windowhandle=$Pswindowhandle){
  Function Hide-Pswindow([Intptr] $Windowhandle=$Pswindowhandle) {
  Function Minimize-Powershell([Intptr] $Windowhandle=$Pswindowhandle) {
  Function Set-Foregroundwindow ([Intptr] $Windowhandle=$Pswindowhandle) {
  Function Set-Consoleicon([String] $Iconfile)
  Function Enable-Menuitem([Intptr] $Hmenu, [Int32] $Uidenableitem)
  Function Disable-Menuitem([Intptr] $Hmenu, [Int32] $Uidenableitem)
  Function Remove-Closemenu([Intptr] $Hmenu)
  Function Add-Closemenu([Intptr] $Hmenu)
  Function Remove-Minimizemenu([Intptr] $Hmenu)
  Function Add-Minimizemenu([Intptr] $Hmenu)
  Function Stayontop([Intptr] $Windowhandle=$Pswindowhandle, [Switch] $Off)