//go:build !windows

package winpwn

import "errors"

var errWindowsOnly = errors.New("requires GOOS=windows")

func OpenPEFromProcess(pid uint32, base uintptr) (*PEFile, error) {
	return nil, errWindowsOnly
}

func ResolveModuleBase(pid uint32, moduleName string) (uintptr, error) {
	return 0, errWindowsOnly
}

func SpawnSuspended(target string) (tube *Tube, pid uint32, err error) {
	return nil, 0, errWindowsOnly
}

func ResumeMainThread(pid uint32) error {
	return errWindowsOnly
}

func ListProcessHeaps(pid uint32) ([]uint64, error) {
	return nil, errWindowsOnly
}
