Beispiel #1
0
func setInject(p *subprocess.PlatformOptions, injectDll string, loadLibraryW uintptr) {
	if injectDll != "" && loadLibraryW != 0 {
		p.InjectDLL = []string{injectDll}
		p.LoadLibraryW = loadLibraryW
	}
}
Beispiel #2
0
func setDesktop(p *subprocess.PlatformOptions, desktop *platform.ContesterDesktop) {
	if desktop != nil {
		p.Desktop = desktop.DesktopName
	}
}