Is there a way to read data directly from the Windows Component Object Model (COM) interface?
I am trying to make a really simple disk space reporter tool for accounts on an Active Directory domain, to read the disk quota limit for the logged on user's home directory, and report how much disk space they are currently using.
,
MSDN: IDiskQuotaUser interface
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365033(v=vs.85).aspx
GetQuotaLimit
GetQuotaUsed