Get KNOWNFOLDERID/CSIDL paths via RGSS1

I was thinking about changing the default save location to RMXP game saves, and the only way to get the "Saved Games" folder (from WinVista+) is using this api.

The docs are C++ oriented, but is there any way using Win32API to get the path from one of these GUIDs?

Thanks in advance!
Regular Ruby has support for accessing Win32API via this: http://ruby-doc.org/stdlib-2.0.0/libdoc/dl/rdoc/Win32API.html. A quick google search also turns up some stack exchange links: https://stackoverflow.com/questions...32api-parameters-how-do-i-pass-a-null-pointer

That being said, RGSS1 is a custom distro of Ruby that may or may not contain the Win32API class. But if I remember correctly, I have seen it used in other people's scripts before, so I think that it does. You might at least give it a try.

Original thread: https://forums.rpgmakerweb.com/threads/get-knownfolderid-csidl-paths-via-rgss1.88754/