2020-01-19 06:57:05 -05:00
|
|
|
package zenutil
|
2020-01-08 13:12:29 -05:00
|
|
|
|
2022-06-04 08:09:58 -04:00
|
|
|
import "strconv"
|
|
|
|
|
2020-01-29 11:45:40 -05:00
|
|
|
// These are internal.
|
|
|
|
var (
|
2022-05-02 10:03:48 -04:00
|
|
|
Separator string
|
|
|
|
LineBreak = "\r\n"
|
2020-01-29 11:45:40 -05:00
|
|
|
)
|
2022-06-04 08:09:58 -04:00
|
|
|
|
|
|
|
func ParseWindowId(id string) uintptr {
|
|
|
|
hwnd, _ := strconv.ParseUint(id, 0, 64)
|
|
|
|
return uintptr(hwnd)
|
|
|
|
}
|