Share via


OEMVerifyMemory (Windows Embedded CE 6.0)

1/5/2010

This function verifies that the address provided is in valid memory.

Syntax

BOOL OEMVerifyMemory(
  DWORD dwStartAddr,
  DWORD dwLength
);

Parameters

  • dwStartAddr
    [in] Address to be verified.
  • dwLength
    [in] Length of the address, in bytes.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

g_pOEMVerifyMemory is a function pointer. An OEM can assign the address of a custom verify memory routine that the BLCOMMON code then calls at the appropriate time through this function pointer. The following code example shows how you can perform this routine.

BOOL OEMVerifyMemory(DWORD dwStartAddr, DWORD dwLength);
g_pOEMVerifyMemory = OEMVerifyMemory;

Requirements

Header blcommon.h
Library blcommon.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Optional Boot Loader Functions
OEMCheckSignature
OEMMultiBINNotify

Concepts

Adding Support for Memory Verification