zenity/internal/zenutil/window_windows.go
2022-06-18 12:58:50 +01:00

18 lines
308 B
Go

package zenutil
import (
"strconv"
"golang.org/x/sys/windows"
)
// ParseWindowId is internal.
func ParseWindowId(id string) windows.HWND {
hwnd, _ := strconv.ParseUint(id, 0, 64)
return windows.HWND(uintptr(hwnd))
}
// GetParentWindowId is internal.
func GetParentWindowId(pid int) int {
return 0
}