Sha256: aa1bfb3a8e3121a99f1a6bade1517bc5af839b7a4bd96b208bd792f1882235a3

Contents?: true

Size: 389 Bytes

Versions: 14

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

require_relative '../../../../facter/resolvers/windows/ffi/ffi'

module System32FFI
  extend FFI::Library

  ffi_convention :stdcall
  ffi_lib :kernel32
  attach_function :IsWow64Process, %i[handle pointer], :win32_bool

  ffi_convention :stdcall
  ffi_lib :kernel32
  attach_function :GetCurrentProcess, [], :handle

  CSIDL_WINDOWS = 0x0024
  H_OK = 0
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
facter-4.10.0 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.9.0 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.8.0 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.7.1 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.7.0 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.6.1 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.6.0 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.5.2 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.5.1 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.5.0 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.4.3 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.4.2 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.4.1 lib/facter/resolvers/windows/ffi/system32_ffi.rb
facter-4.4.0 lib/facter/resolvers/windows/ffi/system32_ffi.rb