BARfly Help - BAR Interfacial Function Reference - BAR_Services Functions

  BAR_Services::Get_Mem_Free
BAR_Services::Get_Nodes_Free

Purpose: To retrieve the amount of available memory or available node handles for the BAR_Services instance.

long Get_Mem_Free();
long Get_Nodes_Free();


Parameters

(None)

Return Values

  On success...

  • Get_Mem_Free: Amount of memory free for usage, in bytes
  • Get_Nodes_Free:  Number of node handles free for usage.

  On failure...

  • A negative value

Remarks

Get_Mem_Free returns the number of bytes available to the BAR_Services instance and child objects.  Because of fragmentation and overhead needed to order the memory blocks, the largest contiguous memory block available might be lower than this value.

Get_Nodes_Free returns the number of node handles available to the BAR_Services instance and child objects.

Compatibility

  All Platforms Win32 C++ LIB
BAR version 1.1 1.1
  All Platforms Win32
BARfly version 1.0 1.0


  See also:  [BAR_Services Functions] [BAR_Registry Functions] [BAR Functions]


BARfly Help Copyright © 2009 Christopher Allen