Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for Dll (0.02 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/windows-resources/groovy/build-resource-only-dll.gradle

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 690 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go

    	// loaded from system32.
    	var dll *DLL
    	var err error
    	if d.Name == "kernel32.dll" {
    		dll, err = LoadDLL(d.Name)
    	} else {
    		dll, err = loadLibraryEx(d.Name, d.System)
    	}
    	if err != nil {
    		return err
    	}
    
    	// Non-racy version of:
    	// d.dll = dll
    	atomic.StorePointer((*unsafe.Pointer)(unsafe.Pointer(&d.dll)), unsafe.Pointer(dll))
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 05 12:36:42 UTC 2020
    - 12K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/sysdll/sysdll.go

    // (currently: during init), and not concurrent with DLL loading.
    var IsSystemDLL = map[string]bool{}
    
    // Add notes that dll is a system32 DLL which should only be loaded
    // from the Windows SYSTEM32 directory. It returns its argument back,
    // for ease of use in generated code.
    func Add(dll string) string {
    	IsSystemDLL[dll] = true
    	return dll
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 22:38:00 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. src/syscall/dll_windows.go

    // A DLL implements access to a single DLL.
    type DLL struct {
    	Name   string
    	Handle Handle
    }
    
    // LoadDLL loads the named DLL file into memory.
    //
    // If name is not an absolute path and is not a known system DLL used by
    // Go, Windows will search for the named DLL in many locations, causing
    // potential DLL preloading attacks.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/ws2_32.txt

    [!GOOS:windows] skip
    
    go run .
    stdout 'ws2_32.dll: not found'
    
    go run -tags net .
    stdout 'ws2_32.dll: found'
    
    -- go.mod --
    module m
    
    go 1.21
    
    -- utils.go --
    package main
    
    import (
    	"fmt"
    	"syscall"
    	"unsafe"
    )
    
    func hasModuleHandle() {
    	const ws2_32 = "ws2_32.dll"
    	getModuleHandle := syscall.MustLoadDLL("kernel32.dll").MustFindProc("GetModuleHandleW")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 18:57:32 UTC 2024
    - 730 bytes
    - Viewed (0)
  6. src/runtime/syscall_windows_test.go

    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    type DLL struct {
    	*syscall.DLL
    	t *testing.T
    }
    
    func GetDLL(t *testing.T, name string) *DLL {
    	d, e := syscall.LoadDLL(name)
    	if e != nil {
    		t.Fatal(e)
    	}
    	return &DLL{DLL: d, t: t}
    }
    
    func (d *DLL) Proc(name string) *syscall.Proc {
    	p, e := d.FindProc(name)
    	if e != nil {
    		d.t.Fatal(e)
    	}
    	return p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  7. src/runtime/testdata/testwinlibthrow/main.go

    package main
    
    import (
    	"os"
    	"syscall"
    )
    
    func main() {
    	dll := syscall.MustLoadDLL("veh.dll")
    	RaiseNoExcept := dll.MustFindProc("RaiseNoExcept")
    	ThreadRaiseNoExcept := dll.MustFindProc("ThreadRaiseNoExcept")
    
    	thread := len(os.Args) > 1 && os.Args[1] == "thread"
    	if !thread {
    		RaiseNoExcept.Call()
    	} else {
    		ThreadRaiseNoExcept.Call()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 348 bytes
    - Viewed (0)
  8. src/runtime/signal_windows_test.go

    	testenv.MustHaveCGO(t)
    	testenv.MustHaveExecPath(t, "gcc")
    	testprog.Lock()
    	defer testprog.Unlock()
    	dir := t.TempDir()
    
    	// build go dll
    	dll := filepath.Join(dir, "testwinlib.dll")
    	cmd := exec.Command(testenv.GoToolPath(t), "build", "-o", dll, "-buildmode", "c-shared", "testdata/testwinlib/main.go")
    	out, err := testenv.CleanCmdEnv(cmd).CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. src/runtime/os_windows.go

    //go:cgo_import_dynamic runtime._CreateWaitableTimerA CreateWaitableTimerA%3 "kernel32.dll"
    //go:cgo_import_dynamic runtime._CreateWaitableTimerExW CreateWaitableTimerExW%4 "kernel32.dll"
    //go:cgo_import_dynamic runtime._DuplicateHandle DuplicateHandle%7 "kernel32.dll"
    //go:cgo_import_dynamic runtime._ExitProcess ExitProcess%1 "kernel32.dll"
    //go:cgo_import_dynamic runtime._FreeEnvironmentStringsW FreeEnvironmentStringsW%1 "kernel32.dll"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. cluster/gce/windows/testonly/user-profile.psm1

                       Position=0)]
            [string]$dll,
     
            # Param2 help description
            [Parameter(Mandatory=$true,
                       ValueFromPipelineByPropertyName=$true,
                       Position=1)]
            [string]
            $methodSignature
        )
     
        $script:nativeMethods += [PSCustomObject]@{ Dll = $dll; Signature = $methodSignature; }
    }
    function Get-Win32LastError
    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:44:57 UTC 2019
    - 9.4K bytes
    - Viewed (0)
Back to top