- Main Page
- Packages
- Classes
- Files
- Related Pages

- Packages
- Package Functions

# Package smjg.libs.sdwf.sysres

System resource level checking. More...

## Enumerations
enum | GFSR { SYSTEMRESOURCES = 0, GDIRESOURCES = 1, USERRESOURCES = 2 }
| The smjg.libs.sdwf.sysres.GFSR enumeration is used to specify which resource level to check. More...
## Functions
ushort | freeSystemResources (GFSR type)
| Gets the level of free system resources.

## Detailed Description

System resource level checking.

The smjg.libs.sdwf.sysres module is used to interrogate the levels of free system resources.

In future SDWF versions, this may be integrated with system resource classes to aid garbage collection.

Since:
  0.5

## Enumeration Type Documentation

enum smjg::libs::sdwf::sysres::GFSR

The smjg.libs.sdwf.sysres.GFSR enumeration is used to specify which resource level to check.

Since:
  0.5

Enumerator:

  SYSTEMRESOURCES | whichever is smaller of the other two values
  GDIRESOURCES | e.g. pens, brushes, bitmaps, fonts
  USERRESOURCES | e.g. windows, menus

## Function Documentation

ushort smjg.libs.sdwf.sysres.freeSystemResources | ( | GFSR | type | ) |

Gets the level of free system resources.

Parameters:

  | type | which resource level to check.

Returns:
  the level of available resources, as a percentage of the total resource capacity of the system.