...

Source file src/github.com/Microsoft/go-winio/pkg/etw/ptr64_64.go

Documentation: github.com/Microsoft/go-winio/pkg/etw

     1  //go:build windows && (amd64 || arm64)
     2  // +build windows
     3  // +build amd64 arm64
     4  
     5  package etw
     6  
     7  import (
     8  	"unsafe"
     9  )
    10  
    11  // byteptr64 defines a struct containing a pointer. The struct is guaranteed to
    12  // be 64 bits, regardless of the actual size of a pointer on the platform. This
    13  // is intended for use with certain Windows APIs that expect a pointer as a
    14  // ULONGLONG.
    15  type ptr64 struct {
    16  	ptr unsafe.Pointer
    17  }
    18  

View as plain text