Sha256: c282769e6b4b8d88fa1aa2a23014e7d2cff5d98d76062de12dd17c47040b9c23
Contents?: true
Size: 345 Bytes
Versions: 22
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true require "#{ROOT_DIR}/lib/resolvers/windows/ffi/ffi" module IdentityFFI extend FFI::Library ffi_convention :stdcall ffi_lib :secur32 attach_function :GetUserNameExW, %i[uint32 lpwstr pointer], :win32_bool ffi_convention :stdcall ffi_lib :shell32 attach_function :IsUserAnAdmin, [], :win32_bool end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.8.pre | lib/resolvers/windows/ffi/identity_ffi.rb |
facter-4.0.7.pre | lib/resolvers/windows/ffi/identity_ffi.rb |