Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for GetLastError (0.21 sec)

  1. src/syscall/dll_windows.go

    func (p *Proc) Addr() uintptr {
    	return p.addr
    }
    
    // Call executes procedure p with arguments a.
    //
    // The returned error is always non-nil, constructed from the result of GetLastError.
    // Callers must inspect the primary return value to decide whether an error occurred
    // (according to the semantics of the specific function being called) before consulting
    // the error. The error always has type [Errno].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/runtime/sys_windows_amd64.s

    	// value in case this call returned a floating point value. For details,
    	// see https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention
    	MOVQ    X0, libcall_r2(CX)
    
    	// GetLastError().
    	MOVQ	0x30(GS), DI
    	MOVL	0x68(DI), AX
    	MOVQ	AX, libcall_err(CX)
    
    	RET
    
    // faster get/set last error
    TEXT runtimeĀ·getlasterror(SB),NOSPLIT,$0
    	MOVQ	0x30(GS), AX
    	MOVL	0x68(AX), AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. cluster/gce/windows/common.psm1

      # you must check both the return value of the function and the error code returned by GetLastError to
      # determine whether or not an error has occurred. If an error has occurred, the return value of SetFilePointer
      # is INVALID_SET_FILE_POINTER and GetLastError returns a value other than NO_ERROR.
      $ret = $Kernel32::SetFilePointer($handle, 0, [System.IntPtr]::Zero, $FILE_BEGIN)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 19 14:47:38 UTC 2022
    - 25.4K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_windows.go

    	procGetFullPathNameW                   = modkernel32.NewProc("GetFullPathNameW")
    	procGetLastError                       = modkernel32.NewProc("GetLastError")
    	procGetLongPathNameW                   = modkernel32.NewProc("GetLongPathNameW")
    	procGetProcAddress                     = modkernel32.NewProc("GetProcAddress")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  5. src/syscall/syscall_windows.go

    // Between NewCallback and NewCallbackCDecl, at least 1024 callbacks can always be created.
    func NewCallbackCDecl(fn any) uintptr {
    	return compileCallback(fn, false)
    }
    
    // windows api calls
    
    //sys	GetLastError() (lasterr error)
    //sys	LoadLibrary(libname string) (handle Handle, err error) = LoadLibraryW
    //sys	FreeLibrary(handle Handle) (err error)
    //sys	GetProcAddress(module Handle, procname string) (proc uintptr, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    func NewCallbackCDecl(fn interface{}) uintptr {
    	return syscall.NewCallbackCDecl(fn)
    }
    
    // windows api calls
    
    //sys	GetLastError() (lasterr error)
    //sys	LoadLibrary(libname string) (handle Handle, err error) = LoadLibraryW
    //sys	LoadLibraryEx(libname string, zero Handle, flags uintptr) (handle Handle, err error) = LoadLibraryExW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procGetLargePageMinimum                                  = modkernel32.NewProc("GetLargePageMinimum")
    	procGetLastError                                         = modkernel32.NewProc("GetLastError")
    	procGetLogicalDriveStringsW                              = modkernel32.NewProc("GetLogicalDriveStringsW")
    	procGetLogicalDrives                                     = modkernel32.NewProc("GetLogicalDrives")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"GetFileInformationByHandle", Func, 0},
    		{"GetFileType", Func, 0},
    		{"GetFullPathName", Func, 0},
    		{"GetHostByName", Func, 0},
    		{"GetIfEntry", Func, 0},
    		{"GetLastError", Func, 0},
    		{"GetLengthSid", Func, 0},
    		{"GetLongPathName", Func, 0},
    		{"GetProcAddress", Func, 0},
    		{"GetProcessTimes", Func, 0},
    		{"GetProtoByName", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg syscall (windows-386), func GetHostByName(string) (*Hostent, error)
    pkg syscall (windows-386), func GetIfEntry(*MibIfRow) error
    pkg syscall (windows-386), func GetLastError() error
    pkg syscall (windows-386), func GetLengthSid(*SID) uint32
    pkg syscall (windows-386), func GetLongPathName(*uint16, *uint16, uint32) (uint32, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top