    # File lib/chef/win32/security.rb, line 336
          def self.lookup_privilege_value(system_name, name)
            luid = FFI::Buffer.new(:uint64).write_uint64(0)
            system_name = system_name.to_wstring if system_name
            unless LookupPrivilegeValueW(system_name, name.to_wstring, luid)
              Win32::Error.raise!
            end
            luid.read_uint64
          end