Can I use the SetFileAttribute() API function to hide folder ???

closed account (3hMz8vqX)
Hi All,
I am a beginner at WINAPI C++ and,
I recently found out the SetFileAttribute() function
Can this be used for hiding folders???
Is it made for files ???
Will it be correct to use it on folders???
Will there be some problem if I do that?
If so is there any other way to set a folders attributes???

Please help me out with this . . .
Please give me a code snippet also...

Thankyou everyone in advance!!!
Topic archived. No new replies allowed.