public void EndQueryDatabaseState(IntPtr aAsyncHandle, out uint aCurrentNumResources, out uint aCriticalNumResources, out uint aCurrentDiskUsage, out uint aMaxDiskUsage)
{
uint code;
string desc;
if (Invocation.Error(aAsyncHandle, out code, out desc))
{
throw new ProxyError(code, desc);
}
uint index = 0;
aCurrentNumResources = Invocation.OutputUint(aAsyncHandle, index++);
aCriticalNumResources = Invocation.OutputUint(aAsyncHandle, index++);
aCurrentDiskUsage = Invocation.OutputUint(aAsyncHandle, index++);
aMaxDiskUsage = Invocation.OutputUint(aAsyncHandle, index++);
}