Share via


OEMVerifyMemory

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

BOOL OEMVerifyMemory(
  DWORD dwStartAddr,
  DWORD dwLength
);

Parameters

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

Return Values

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.

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

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Blcommon.h.
Link Library: Blcommon.lib.

See Also

OEMCheckSignature | OEMMultiBINNotify | Adding Support for Memory Verification

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.