here are a few dll calls, the "win32"is the calling convention , not the dll:
Extern "win32" Function SetWindowPos:Int(hWnd,hWndInsertAfter,x,y,cx,cy,wFlags) = "SetWindowPos@28" Function GetWindowLong :Int(hWnd ,nIndex)= "GetWindowLongA@8" Function GetActiveWindow:Int()= "GetActiveWindow@0" Function SetWindowLong :Int(hWnd ,nIndex,lNewLong )= "SetWindowLongA@12" End Extern