GlobalMemoryStatus (Windows CE 5.0)

Send Feedback

This function gets information on the physical and virtual memory of the system.

A remote application interface (RAPI) version of this function exists and is called CeGlobalMemoryStatus.

voidGlobalMemoryStatus( LPMEMORYSTATUSlpBuffer );

Parameters

  • lpBuffer
    [out] Pointer to a MEMORYSTATUS structure.

    The GlobalMemoryStatus function stores information about current memory availability in 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.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.

See Also

CeGlobalMemoryStatus | MEMORYSTATUS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.