Le API non sono per C++ (anzi) ...

Il fatto è che con Windows si usano quelle API per la gestione delle cartelle.