Export (0) Print
Expand All
Expand Minimize

CeGlobalMemoryStatus (RAPI)

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function gets information on the physical and virtual memory of the system on a remote Windows Embedded CE–based device.


void CeGlobalMemoryStatus(
  LPMEMORYSTATUS lpmst
);

lpmst

[out] Pointer to a MEMORYSTATUS structure in which information about current memory availability is stored.

None.

Aa918912.note(en-us,MSDN.10).gifNote:
This function generates a RAPI level error if it cannot properly marshal parameters between the Windows Embedded CE-based device and the desktop computer. In this case, you can trace the error by calling the CeRapiGetError (RAPI) function.

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

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

Headerrapi.h
Libraryrapi.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2000 and later, Smartphone 2002 and later

Community Additions

ADD
Show:
© 2014 Microsoft