Ah, still fighting with pointers,
it seems so :-)

maybe start with C#, as C++ and the WinAPI is dealing a lot with pointers.

Your problem ist, that you must now print your variables, not the pointers.
If there isn't an overloaded function for ULARGE_INTEGER, you must create one yourself, or you print the parts of the variable, which is a struct.

for example: freeSpace.LowPart, freeSpace.HighPart.
Or change it into a double value and cout that value.

So besides pointers you need knowledge about structures ... And then there are pointers to structures which have to get addressed and so on.

Good luck ;-)