    # File lib/chef/win32/api/file.rb, line 473
            def file_search_handle(path, &block)
              begin
                path = encode_path(path)
                find_data = WIN32_FIND_DATA.new
                handle = FindFirstFileW(path, find_data)
                if handle == INVALID_HANDLE_VALUE
                  Chef::ReservedNames::Win32::Error.raise!
                end
                block.call(handle, find_data)
              ensure
                FindClose(handle) if handle && handle != INVALID_HANDLE_VALUE
              end
            end