    # File lib/chef/win32/file.rb, line 131
          def self.get_long_path_name(path)
            path = path.to_wstring
            size = GetLongPathNameW(path, nil, 0)
            if size == 0
              Chef::ReservedNames::Win32::Error.raise!
            end
            result = FFI::MemoryPointer.new :char, (size+1)*2
            if GetLongPathNameW(path, result, size+1) == 0
              Chef::ReservedNames::Win32::Error.raise!
            end
            result.read_wstring(size)
          end