OEMPreDownload

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 OS image.

DWORD OEMPreDownload (void);

Parameters

None.

Return Values

The return value for this function is most often obtained through a call to EbootInitEtherTransport, which collects this choice from Platform Builder. User selections for downloading or booting from a resident OS 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 OS image from the host machine.
BL_JUMP = 1 Skip the download and jump to a resident OS image.
BL_ERROR = -1 Image download is unsuccessful.

Requirements

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

See Also

BLCOMMON Code Library | Implementing the OEMPreDownload Function | Adding KITL Initialization Code

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.