Sha256: d165d1397f2cc9db0fc091a4ae854c9e05a2005a07062c77d29aa7726232f4a3

Contents?: true

Size: 295 Bytes

Versions: 16

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

require 'facter/resolvers/windows/ffi/ffi'
require 'facter/resolvers/windows/ffi/os_version_info_ex'

module KernelFFI
  extend FFI::Library

  ffi_convention :stdcall
  ffi_lib :ntdll
  attach_function :RtlGetVersion, [:pointer], :int32

  STATUS_SUCCESS = 0
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
facter-4.3.1 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.3.0 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.14 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.13 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.12 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.11 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.10 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.9 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.8 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.7 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.6 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.5 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.4 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.3 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.2 lib/facter/resolvers/windows/ffi/kernel_ffi.rb
facter-4.2.1 lib/facter/resolvers/windows/ffi/kernel_ffi.rb