> Why not use the stack?

Because it will be allocated each time the functions is called.

> This is not necessary, MAX_PATH includes it.

Ok, I see.