I am using Variscite's VAR-SOM-OM37, 3730, and I want to be able to read the deviceID that is set in the EBoot's menu.
I can read deviceID from the display driver's code FROM eboot,(I have confirmed it is working for eboot using the code below)
but I can't find an API to do that from WinCE's Display driver.(or maybe need to link to another library?)
void LcdPdd_LCD_InitResolution()
{
......
#ifdef BOOT_MODE
{
BSP_ARGS *pArgs2;
pArgs2 = OALCAtoUA(IMAGE_SHARE_ARGS_CA);
RETAILMSG( TRUE,(TEXT("********************************************************pArgs->deviceID is %d\r\n"),pArgs2->deviceID));
}
#else
{
how to access deviceID in the WinCE display driver in this function???
}
#endif