CeGlobalMemoryStatus (RAPI)

This function gets information on the physical and virtual memory of the system. CeGlobalMemoryStatus is a remote application interface (RAPI), which enables an application running on a desktop computer to make function calls on a Windows CE–based device.

void CeGlobalMemoryStatus( 
LPMEMORYSTATUS lpmst);

Parameters

  • lpmst
    [out] Pointer to a MEMORYSTATUS structure. The GlobalMemoryStatus function stores information about current memory availability into this structure.

Return Values

None.

Remarks

You can use the GlobalMemoryStatus function to determine how much memory your application can allocate without severely impacting other applications.

The information returned by the GlobalMemoryStatus function is volatile. There is no guarantee that two sequential calls to this function will return the same information.

When working with RAPI for Windows CE versions 1.0 and 1.01, use the PegGlobalMemoryStatus function.

For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.0 and later Rapi.h    

See Also

GlobalMemoryStatus, MEMORYSTATUS

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.