次の方法で共有


OEMVerifyMemory (Compact 2013)

10/16/2014

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

See Also

Reference

Optional Boot Loader Functions
OEMCheckSignature
OEMMultiBINNotify