code: public static List<Win32FindData> listDir(String path) {
      final List<Win32FindData> results = new ArrayList<Win32FindData>();
      listDirectory(path, new INativeWin32APICallback() {
        @Override
        public void handleFile(String name, int attributes, long createTime, long lastAccessTime, long lastModifiedTime, long length) {
          if (!(name.equals(".") || name.equals(".."))) {
            results.add(new Win32FindData(attributes, createTime, lastAccessTime, lastModifiedTime, length, name));
          }
        }
      });
      return results;
    }
docs: --------------- END TEST CODE