Share via


OALArgsQuery (Windows Embedded CE 6.0)

1/5/2010

This function obtains the values from the OEM-defined arguments structure. OALArgsQuery is called by other OAL modules.

Syntax

VOID* OALArgsQuery(
  UINT32 type
);

Parameters

  • type
    [in] Boot argument type. The following table defines the possible values for this parameter.

    Value Description

    OAL_ARGS_QUERY_DEVID

    Identifies the unique device ID argument specified in the argument structure.

    OAL_ARGS_QUERY_KITL

    Identifies the KITL argument specified in the argument structure.

    OAL_ARGS_QUERY_UUID

    Identifies the universally unique identifier (UUID) argument specified in the argument structure.

    OAL_ARGS_QUERY_RTC

    Identifies the real-time clock (RTC) argument specified in the argument structure.

    OAL_ARGS_QUERY_UPDATEMODE

    Identifies the update mode argument specified in the argument structure.

    BSP_ARGS_QUERY

    Base value used to define BSP-specific arguments. Values smaller than this value are reserved for the OAL library. The hardware platform implementation can use values beginning with BSP_ARGS_QUERY.

Return Value

This function returns NULL when the specified arguments cannot be found. Boot arguments are typically placed in fixed memory location and they are filled by the boot loader. If the boot arguments cannot be found, the OAL module must use default values.

Remarks

OALArgsQuery should solve issues related to different argument structure versions.

Requirements

Header oal_args.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Boot Arguments Functions