Partager via


OEMGetSnapshotRegions (Compact 2013)

10/16/2014

Specifies OEM-specific regions of RAM to include in the memory snapshot that is taken by snapshot boot. This function is optional and is implemented by the OEM.

Syntax

PCRamTable OEMGetSnapshotRegions(void);

Return Value

Returns a OEMRamTable, defined in %_WINCEROOT%\Public\Common\Oak\Inc\OEMGlobal.h, that describes RAM that is not reported to the kernel, but needs to be saved in the snapshot memory image. The returned region must exclude the regions that OEMGetOEMRamTable returns.

Remarks

The OEM must implement this function if the OEM supports snapshot boot.

When you implement this function, provide its address in the pfnSnapGetOemRegions member of SnapshotSupport. The OS calls this function when it is preparing to take a snapshot image.

Requirements

Header

Developer Implemented

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Optional OAL Functions
OEMRamTable