OEMPreDownload (Compact 2013)

10/16/2014

This function is called by the BLCOMMON framework prior to download and can be customized to prompt for user feedback, such as obtaining a static IP address or skipping the download and jumping to a flash-resident run-time image.


DWORD OEMPreDownload (void);

None.

The return value for this function is usually obtained through a call to EbootInitEtherTransport, which collects this choice from Microsoft® Platform Builder. User selections for downloading or booting from a resident run-time image are passed from Platform Builder to the boot loader through a call to EbootInitEtherTransport.

The following table shows the possible return values for OEMPreDownload.

Value

Description

BL_DOWNLOAD = 0

Download the run-time image from the host machine.

BL_JUMP = 1

Skip the download and jump to a resident run-time image.

BL_ERROR = -1

Image download is unsuccessful.

Header

blcommon.h

Library

blcommon.lib

Show: