sdl2:sdl2.SDL_GetWindowPosition

Function SDL_GetWindowPosition:Void( window:SDL_Window Ptr,x:Int Ptr,y_:Int Ptr )