Is there a function in the Windows API I can use to get recent files opened by my application instead of just setting them?

(Before you tell me; yes, I know it won't be hard to do myself.)

I'm specifically looking for a function from the Windows API, which none of those articles mention.

If you download one of the project and look at the code it will show you the win32 api functions they call.