signature=35805820409382143826021ce833b89f,OEMCheckSignature (Windows Embedded CE 6.0)

OEMCheckSignature (Windows Embedded CE 6.0)

01/05/2012

閱讀時間 2 分鐘

本文內容

1/5/2010

This function verifies the signature in the .bin file.

Syntax

BOOL OEMCheckSignature(

DWORD dwImageStart,

DWORD dwROMOffset,

DWORD dwLaunchAddr,

BOOL bDownloaded

);

Parameters

dwImageStart

[in] Starting address of the OS image or .bin file. This is the address where the OS image is currently stored, typically in RAM.

dwROMOffset

[in] Corresponds to the ROMOFFSET value in the .bib file, which is Config.bib, if the file is an OS image. This parameter translates between where the OS image is stored and where it runs. For example, it might be stored in flash memory, but run from RAM.

dwLaunchAddr

[in] Launches the address of the OS image, which is the address to which the boot loader jumps. It is the main entry point for the downloaded OS image.

bDownloaded

[in] Specifies either TRUE or FALSE and describes whether the OS image was downloaded or whether a signature check is performed on a local, or resident, OS image.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

g_pOEMCheckSignature is a function pointer. You can assign the address of a custom check signature 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 OEMCheckSignature(DWORD dwImageStart, DWORD dwROMOffset, DWORD dwLaunchAddr, BOOL bDownloaded);

g_pOEMCheckSignature = OEMCheckSignature;

g_pOEMCheckSignature can call back to the OEMCheckSignature function to check most of the signature.

Requirements

Header

blcommon.h

Library

blcommon.lib

Windows Embedded CE

Windows CE .NET 4.2 and later

See Also

Reference

Concepts

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值