Hello SAP,
please include the Missing datatype ULongLong / UnsignedLongLong in PB 12.5.x and PB 15 (Classic/Native).
I like to use the WINAPI KERNEL32 function GlobalMemoryStatusEx this uses the Structure memoryStatusEx which requires 64 Bit unsigned integers (DWORDLONG) see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366770(v=vs.85).aspx
Please notice that this function is independet from the process bittness (32Bit or 64Bit) so that the new LongPtr im PB15 is not suitable for 32Bit deployment.
It seems to work with the 64 Bit signed integers LongLong which are available in PB 12.5 but we have to handle the overflow when the value is getting greater than 9223372036854775807.
Kind regards
Marco