Sha256: d8a9fe4658fb134a5ea19b6093585bd51794d64735e2ce246c29224c465264e9
Contents?: true
Size: 336 Bytes
Versions: 24
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true require 'facter/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
24 entries across 24 versions & 1 rubygems