Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetLastError (0.11 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

                    // when pid is not attached to console, GetLastError(pid) returns:
                    // ERROR_GEN_FAILURE on Win7
                    // ERROR_INVALID_HANDLE on Win10
                    if (!AttachConsole(pid)) {
                        if (GetLastError() == ERROR_GEN_FAILURE || GetLastError() == ERROR_INVALID_HANDLE) {
                            printf("none\\n");
                            exit(0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/runtime/os_windows.go

    		if m32 == 0 {
    			print("runtime: LoadLibraryExW failed; errno=", getlasterror(), "\n")
    			throw("winmm.dll not found")
    		}
    		_timeBeginPeriod = windowsFindfunc(m32, []byte("timeBeginPeriod\000"))
    		_timeEndPeriod = windowsFindfunc(m32, []byte("timeEndPeriod\000"))
    		if _timeBeginPeriod == nil || _timeEndPeriod == nil {
    			print("runtime: GetProcAddress failed; errno=", getlasterror(), "\n")
    			throw("timeBegin/EndPeriod not found")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go

    }
    
    //go:uintptrescapes
    
    // Call executes procedure p with arguments a. It will panic, if more than 15 arguments
    // are supplied.
    //
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 05 12:36:42 UTC 2020
    - 12K bytes
    - Viewed (0)
  4. 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)
Back to top