Sha256: 45511ef71947f81550a26144f9bd6c5db3236d3a5d7f7e72c7ad7f6d50bdc16d

Contents?: true

Size: 337 Bytes

Versions: 14

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

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

module MemoryFFI
  extend FFI::Library

  ffi_convention :stdcall
  ffi_lib :psapi
  attach_function :GetPerformanceInfo, %i[pointer dword], :win32_bool
end

Version data entries

14 entries across 14 versions & 1 rubygems

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