of_GetPhysicalMemory


pfcapsrv.pbl   >   pfc_n_cst_platformhpux   >   of_GetPhysicalMemory   

Full name pfc_n_cst_platformhpux.of_GetPhysicalMemory
Access public
Extend of long
Return value long
Prototype public function long of_GetPhysicalMemory()

Name Datatype
No Data

Name Datatype
lstr_memory os_memorystatus

public function long of_GetPhysicalMemory ();//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_GetPhysicalMemory
//
//	Access:  public
//
//	Arguments: none
//
//
//	Returns:  long -  total memory
//	
//
//	Description:  Return the total physical memory (RAM) installed in the machine
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
os_memorystatus lstr_memory

//structure size is 8 ulong's or 8 * 4 bytes
lstr_memory.ul_length = 32

GlobalMemoryStatus(lstr_memory)

//bytes of virtual memory available
Return (lstr_memory.ul_totalphys)
end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_platformhpux.GlobalMemoryStatus pfc_n_cst_platformhpux

     
Full name
pfc_n_cst_platformhpux.os_memorystatus

     
Name Scope
No Data