Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for NewProc (0.23 sec)

  1. src/syscall/zsyscall_windows.go

    	procWSARecv                            = modws2_32.NewProc("WSARecv")
    	procWSARecvFrom                        = modws2_32.NewProc("WSARecvFrom")
    	procWSASend                            = modws2_32.NewProc("WSASend")
    	procWSASendTo                          = modws2_32.NewProc("WSASendTo")
    	procWSAStartup                         = modws2_32.NewProc("WSAStartup")
    	procbind                               = modws2_32.NewProc("bind")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  2. src/runtime/race/race_windows_test.go

    	// Also do a sanity correctness check: under race detector atomic operations
    	// are implemented inside of race runtime.
    	kernel32 := syscall.NewLazyDLL("kernel32.dll")
    	VirtualAlloc := kernel32.NewProc("VirtualAlloc")
    	VirtualFree := kernel32.NewProc("VirtualFree")
    	const (
    		MEM_COMMIT     = 0x00001000
    		MEM_RESERVE    = 0x00002000
    		MEM_RELEASE    = 0x8000
    		PAGE_READWRITE = 0x04
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/registry/zsyscall_windows.go

    	procRegCreateKeyExW           = modadvapi32.NewProc("RegCreateKeyExW")
    	procRegDeleteKeyW             = modadvapi32.NewProc("RegDeleteKeyW")
    	procRegDeleteValueW           = modadvapi32.NewProc("RegDeleteValueW")
    	procRegEnumValueW             = modadvapi32.NewProc("RegEnumValueW")
    	procRegLoadMUIStringW         = modadvapi32.NewProc("RegLoadMUIStringW")
    	procRegSetValueExW            = modadvapi32.NewProc("RegSetValueExW")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4K bytes
    - Viewed (0)
  4. src/internal/syscall/windows/zsyscall_windows.go

    	procOpenThreadToken                   = modadvapi32.NewProc("OpenThreadToken")
    	procQueryServiceStatus                = modadvapi32.NewProc("QueryServiceStatus")
    	procRevertToSelf                      = modadvapi32.NewProc("RevertToSelf")
    	procSetTokenInformation               = modadvapi32.NewProc("SetTokenInformation")
    	procProcessPrng                       = modbcryptprimitives.NewProc("ProcessPrng")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procAdjustTokenPrivileges                                = modadvapi32.NewProc("AdjustTokenPrivileges")
    	procAllocateAndInitializeSid                             = modadvapi32.NewProc("AllocateAndInitializeSid")
    	procBuildSecurityDescriptorW                             = modadvapi32.NewProc("BuildSecurityDescriptorW")
    	procChangeServiceConfig2W                                = modadvapi32.NewProc("ChangeServiceConfig2W")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  6. src/runtime/testdata/testwinsignal/main.go

    	kernel32 := syscall.NewLazyDLL("kernel32.dll")
    	getConsoleWindow := kernel32.NewProc("GetConsoleWindow")
    	hwnd, _, err := getConsoleWindow.Call()
    	if hwnd == 0 {
    		log.Fatal("no associated console: ", err)
    	}
    
    	// Send message to close the console window.
    	const _WM_CLOSE = 0x0010
    	user32 := syscall.NewLazyDLL("user32.dll")
    	postMessage := user32.NewProc("PostMessageW")
    	ok, _, err := postMessage.Call(hwnd, _WM_CLOSE, 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 07:37:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. internal/disk/stat_windows.go

    	GetDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW")
    
    	// GetDiskFreeSpace - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364935(v=vs.85).aspx
    	// Retrieves information about the specified disk, including the amount of free space on the disk.
    	GetDiskFreeSpace = kernel32.NewProc("GetDiskFreeSpaceW")
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/dist/sys_windows.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    var (
    	modkernel32       = syscall.NewLazyDLL("kernel32.dll")
    	procGetSystemInfo = modkernel32.NewProc("GetSystemInfo")
    )
    
    // see https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-system_info
    type systeminfo struct {
    	wProcessorArchitecture      uint16
    	wReserved                   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/symtab.go

    	Growslice         *obj.LSym
    	InterfaceSwitch   *obj.LSym
    	Memmove           *obj.LSym
    	Msanread          *obj.LSym
    	Msanwrite         *obj.LSym
    	Msanmove          *obj.LSym
    	Newobject         *obj.LSym
    	Newproc           *obj.LSym
    	Panicdivide       *obj.LSym
    	Panicshift        *obj.LSym
    	PanicdottypeE     *obj.LSym
    	PanicdottypeI     *obj.LSym
    	Panicnildottype   *obj.LSym
    	Panicoverflow     *obj.LSym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:26 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. internal/disk/type_windows.go

    package disk
    
    import (
    	"path/filepath"
    	"syscall"
    	"unsafe"
    )
    
    // GetVolumeInformation provides windows drive volume information.
    var GetVolumeInformation = kernel32.NewProc("GetVolumeInformationW")
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(path string) string {
    	volumeNameSize, nFileSystemNameSize := uint32(260), uint32(260)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top