Carbon


Determining that Virtual Memory Manager is present

Header: Gestalt.h

enum {
    gestaltVMAttr = 'vm  ',
    gestaltVMPresent = 0,
    gestaltVMHasLockMemoryForOutput = 1,
    gestaltVMFilemappingOn = 3,
    gestaltVMHasPagingControl = 4
};

Constant descriptions

gestaltVMAttr

The Gestalt selector you pass to determine the virtual memory attributes that are present.

gestaltVMPresent

If true, virtual memory is present.

gestaltVMHasLockMemoryForOutput
gestaltVMFilemappingOn
gestaltVMHasPagingControl

Before calling any function dependent on memory, your application should pass the selector gestaltVMAttr to the Gestalt function to determine the virtual memory attributes that are present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)