Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TimeBeginPeriod (0.27 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	DwmSetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) = dwmapi.DwmSetWindowAttribute
    
    // Windows Multimedia API
    //sys TimeBeginPeriod (period uint32) (err error) [failretval != 0] = winmm.timeBeginPeriod
    //sys TimeEndPeriod (period uint32) (err error) [failretval != 0] = winmm.timeEndPeriod
    
    // syscall interface implementation for other packages
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K 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")
    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/time/time.go

    // On Windows version 1803 and newer, the resolution is ~0.5ms.
    // On older Windows versions, the default resolution is ~16ms, but
    // a higher resolution may be requested using [golang.org/x/sys/windows.TimeBeginPeriod].
    package time
    
    import (
    	"errors"
    	_ "unsafe" // for go:linkname
    )
    
    // A Time represents an instant in time with nanosecond precision.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procVerQueryValueW                                       = modversion.NewProc("VerQueryValueW")
    	proctimeBeginPeriod                                      = modwinmm.NewProc("timeBeginPeriod")
    	proctimeEndPeriod                                        = modwinmm.NewProc("timeEndPeriod")
    	procWinVerifyTrustEx                                     = modwintrust.NewProc("WinVerifyTrustEx")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top