You can get a list of all the files/folders in a folder by first calling FindFirstFile() then call FindNextFile() until it returns no more files. Both functions returns a structure that contains the timestamp that your program will need to check. The problem is that your program may not be able to detect files that are newer than 1 minute, but you'll just have to run the program to find out.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
If you have to search the entire hard drive then the program will miss some of them because it will take a lot more than than 1 minute to do the searches.
Look up (e.g. google) low FindFirstFile() and FindNextFile() work and you will find out how you can use them in your program.
Because the above will be too slow for your purposes another option is to let MS-Windows notify your program when files change within a folder. Read this link to see if it will help you.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343