Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
Public Type MEMORYSTATUS
dwLength As Long
dwMemoryLoad As Long
dwTotalPhys As Long
dwAvailPhys As Long
dwTotalPageFile As Long
dwAvailPageFile As Long
dwTotalVirtual As Long
dwAvailVirtual As Long
End Type
Public Declare Sub GlobalMemoryStatus Lib "kernel32" (lpBuffer As MEMORYSTATUS)
Option Explicit
Dim lpBuffer As MEMORYSTATUS
Public Function speicherFrei() As Long
GlobalMemoryStatus lpBuffer
speicherFrei = lpBuffer.dwAvailPhys
End Function
Public Function speicherBelegt() As Long
GlobalMemoryStatus lpBuffer
speicherBelegt = lpBuffer.dwMemoryLoad
End Function
Public Function speicherGesamt() As Long
GlobalMemoryStatus lpBuffer
speicherGesamt = lpBuffer.dwTotalPhys
End Function
Public Function speicherVirtualFrei() As Long
GlobalMemoryStatus lpBuffer
speicherVirtualFrei = lpBuffer.dwAvailVirtual
End Function
Public Function speicherVirtualgesamt() As Long
GlobalMemoryStatus lpBuffer
speicherVirtualgesamt = lpBuffer.dwTotalVirtual
End Function
Public Function speicherPagefile() As Long
GlobalMemoryStatus lpBuffer
speicherPagefile = lpBuffer.dwTotalPageFile
End Function
Public Function speicherLenhtgdw() As Long
GlobalMemoryStatus lpBuffer
speicherLenhtgdw = lpBuffer.dwLength
End Function
Public Function speicherPfile() As Long
GlobalMemoryStatus lpBuffer
speicherPfile = lpBuffer.dwAvailPageFile
End Function