Windows CE 5.0 Chat (February 23, 2005)
Posted: February 24, 2005
Please note: Portions of this transcript have been edited for clarity
Introduction
mikefos_msft (Moderator):
Welcome to today’s chat. Our chat today about Windows CE 5.0!
We are pleased to welcome our Experts for today’s chat. I will have them introduce themselves now.
JayLoney_MSFT (Expert):
I am the Program Manager for Drivers in the Base OS team. I own the Bus drivers (SDIO, USB, PCI, PCCard), the Device Manager, Power Manager and have been moonlighting on some BSPs.
russellk_MSFT (Expert):
Hi, I'm Russ Keldorph. I own the Windows CE native C++ compilers and runtimes.
lmcneill_MSFT (Expert):
Hi, I'm Lorna - a developer in the windows mobile part of the JDP (joint development program) team.
APearson_MSFT (Expert):
Hi, I'm Andrew Pearson. I'm dev manager for the Core OS, so I know a little about the kernel, file systems, the IDE and Debugger. But used to be the Drivers team lead, so that's the area I'm most technically familiar with.
BorMing_MS (Expert):
Hi, I'm Bor-Ming, I worked on CE kernel.
lindakim_MSFT (Expert):
Hi, I am Linda - OEM Program Manager in Windows CE supporing IP STB industry.
KarelD_MSFT (Expert):
Hi, I'm Karel. I am working as developer in BSP team.
GLanger_MSFT (Expert):
Hi, I'm Glen Langer. I'm a Program Manager for BSPs on the Base OS Team.
JohnMarc_MSFT (Expert):
Hi, I'm John Marcantonio - a Program Manager in the CE Multimedia Team. Some of the technologies I own include the CE Graphics Stack, MM Codecs, and CE WMP / OCX.
mikefos_msft (Moderator):
Let’s begin the chat. We welcome you to begin submitting your questions for our Experts. If you have attended previous chats, you may be accustomed to prefacing your question with a Q:, there is no need to do that any longer. Our new chat system will automatically preface your question with a Q:.
Start of Chat
JayLoney_MSFT (Expert):
Q: Does the Portable Media Center (Creative and Samsung) use a CE operating system?
A: Yes, PMC is based on CE 5.0.
mikefos_msft (Moderator):
Thanks for all of your questions. Our experts are now working on them!
APearson_MSFT (Expert):
Q: Is Serial KITL over USB Supported in CE 5.0 - if so, where do I find the source to adapt?
A: Serial KITL over USB is not supported out of the box. It is probably technically possible, but a better solution would be to use RNDIS KITL. In conjunction with VMINI/VBRIDGE, this would allow you to use your RNDIS interface for applications as well as for debugging.
KarelD_MSFT (Expert):
Q: How do I get SHELL.EXE (the Windows CE> prompt) to redirect is I/O so I can use it in a telnet session?
A: SHELL.EXE uses KITL transport layer, there isn't easily way how to redirect it in telnet. However we support telnet server which uses cmd.exe as command interpreter.
JayLoney_MSFT (Expert):
Q: What is the central web-link for WinCE technical info.?
A:https://msdn.microsoft.com/embedded/default.aspx
lindakim_MSFT (Expert):
Q: Does VoIP in CE 5.0 support video and multimedia transport/session?
A: Are you looking for video conferencing feature? Would you please tell me more about it?
APearson_MSFT (Expert):
Q: Does the Portable Media Center (Creative and Samsung) use a CE operating system?
A: The details of this are that PMC uses a pre-release version of CE 5.0. Most of the PMC functionality is in an add-on kit that is installed in conjunction with this particular version of Windows CE.
mikefos_msft (Moderator):
Q: Will I be able to upgrade from Windows Mobile 2003 SE to Windows Mobile 2005 easily? Or will I need to buy a new PDA?
A: Great question. In the past this has typically been up to the manufacturer as to whether an upgrade will be offered. I'd recommend checking with them to see if they will be considering this upgrade.
JayLoney_MSFT (Expert):
Q: Where is the sample source for RNDIS KITL in the PUBLIC tree? Is in a single subdirectory or in multiple places? Is there documentation on adapting RNDIS KITL to a platform - I see nothing in the help file?
A: The sample for rndis kitl was moved to \WINCE500\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\NET2890 in CE 5.0.
APearson_MSFT (Expert):
Q: Will WinCE5 support screensavers? Would be fun :)
A: Windows CE supports screen savers, but I am not sure of how they are handled on Windows Mobile platforms (PocketPCs and SmartPhones). Applications that call SystemIdleTimerReset(), which are common on those platforms, also reset screen saver timeouts because they make it look like the user is doing something with the device.
APearson_MSFT (Expert):
Q: Is the "Mira" device using CE too?
A: Yes - "Mira", which is officially named Smart Display, is based on Windows CE.
russellk_MSFT (Expert):
Q: Will WinCE 5 have a 'Remote Desktop Connection' program? Would be really helpful
A: Windows CE does support an RDP client application, but it is up to the OEM whether it is included in an OS design. See https://msdn.microsoft.com/library/en-us/wceappenduser5/html/wce50oriRemoteDesktopProtocol.asp?frame=true.
mikefos_msft (Moderator):
Thanks again for all of your questions regarding Windows CE. We're currently working to catch up! Thanks for your patience.
JayLoney_MSFT (Expert):
Q: I am sorry, I mean what is the central web-link for WinCE 5.0 technical info.?
A: Help is on msdn library. https://msdn.microsoft.com/library/shared/deeptree/asp/deeptree.asp?stcfg=/library/searchtabconfig.xml&dtcfg=/library/deeptreeconfig.xml&url=/library/en-us/wceddk5/html/wce50conbestpracticesforportabledevicedrivers.asp?frame=true
JayLoney_MSFT (Expert):
Q: What support for the Transdimension USB Host controller UHC 124 is present in CE 5.0? If adaption from sample code is necessary, which is the best host controller driver sample to start with?
A: Transdimension has a driver for Windows CE 5.0. I would suggest contacting them. If you really want to right your own driver, start with OHCI2.
APearson_MSFT (Expert):
Q: What is the difference between windows mobile SE vs CE vs Pocket PC?
A: All PocketPC/Smartphone systems are built on some version of Windows CE, which is the underlying operating system. They add value in the form of a custom shell, applications, telephony protocol stack, ISV programming model, etc. etc. etc. I believe that WM2000SE is the product code named "Ozone Update", which is based on CE 4.2. So that's a particular version of PocketPC/Smartphone.
mikefos_msft (Moderator):
Q: I found the Help of PB5.0 is very PB4.x oriented and not very up-to-date. Many improvements in PB5.0 are not explained (especially regarding some PRJ_xxx settings). Will this soon be updated?
A: Regarding your help comments: Just wanted to mention that we've got a Platform Builder doc chat tomorrow at 10AM (Pacific). Our doc folks will be on hand and enthusiastic to discuss areas for improvements.
APearson_MSFT (Expert):
Q: How should I modify the VoIP application within a project without affecting other platforms?
A: I am not familiar with the details of VoIP. However generally when you want to make custom changes to code in the "public" tree, you need to make a copy of it in your platform or your own project directory.
masatos_MSFT (Expert):
Q: Does VoIP in CE 5.0 support video and multimedia transport/session?
A: VoIP in CE 5.0 does not support video, only audio
masatos_MSFT (Expert):
Q: Hey, is this a silly question:" How should I modify the VoIP application within a project without affecting other platforms"? Or the answer is too long? Can I get some responds?
A: Not sure what you mean by "other platforms." Can you clarify?
KarelD_MSFT (Expert):
Q: What would be causing the FAL to not be calling my FMD's XXX_Power routines when the system is going through suspend/resume in CE 5.0?
A: I check MSFT flash driver and it looks there is direct call from DSK_PowerDown to FMD_PowerDown. Which version of CE and which driver are you using?
JayLoney_MSFT (Expert):
Q: When do you expect a beta of CE5 to be out?
A: Windows CE v5.0 was RTM'd in August 04.
Mikethom_MS (Expert):
Q: Is there a WMI equiv in Windows Mobile 2k3 SE that I can programmatically access?
A: There is no comparable WMI API on Windows Mobile by default. What are you trying to Query? OEMs have an option to add SMS client, or equivalent, to the device which would get you close.
APearson_MSFT (Expert):
Q: I downloaded a nk.bin to target device through serial connection. But the next day Connectivity options menu item failed to start. I haven't seen a Connectivity Options dialog and even no error message!
A: I don't believe that serial downloads are supported by PB. The connectivity options dialog is hosted by a process outside of PB called cesvchost.exe that's responsible for connectivity to the device. If you are having problems with it, try restarting PB. Make sure that the following processes are all gone using Task Manager: cepb.exe, cemgr.exe, cesvchost.exe.
russellk_MSFT (Expert):
Q: When using the just-in-time debugger in eVC why does eVC close the current project and start a new one? And why does stopping the JIT debugger also stop the app?
A: An application is terminated when the debugger is disconnected due to a limitation of the operating system. If you use Visual Studio 2005 (available in Beta now) with newer OSes (Windows CE 5.0+, I believe), it is possible to disconnect without terminating the application. Unfortunately, I don't know the answer to the first part of your question about eVC closing the current project.
KarelD_MSFT (Expert):
Q: Can I just copy WZCTool to my Windows Mobile se and execute it? If Yes where do I get the command line tool to do so?
A: There is no simple answer to this. Each device can have different set of API depending on OEM vendor. On Windows Mobile OEM can use security settings which allows run only signed code (trusted). So answer is - you can try, but it may not work.
mikefos_msft (Moderator):
Q: Is there a license cost for SQLCe and if so, how much?
A: Thanks for the question. Unfortunately, our experts today are focused more on the core CE operating system. For specific information regarding SQLCE license cost, I'd probably recommend one of two things:
https://www.microsoft.com/sql/ce/default.asp
mikefos_msft (Moderator):
If you’re just joining us, welcome to today’s chat. Our chat today about Windows CE 5.0! Your questions, comments and feedback are welcome.
mikefos_msft (Moderator):
Our experts are currently working on questions. Thanks for your patience. :-)
Mikethom_MS (Expert):
Q: With "Ink" ever be supported by MSN Messenger on Windows CE, the touch screen and stylus makes it possible?
A: Sorry but we don't have someone from the Messenger Team on the Chat.
JayLoney_MSFT (Expert):
Q: Does WM2005 have a windows update kind of thing..?
A: We are working on a new technology for Updating images on devices. As the specifics of Windows Mobile 05 are not released, I can't be more specific.
APearson_MSFT (Expert):
Q: Will we be seeing a new version of Pocket PC in the coming months?
A: The Windows Mobile dev team is working on the next release of their platform. However, the people on this chat are involved in the underlying OS and can't really comment on upcoming releases of PPC/SP.
mikefos_msft (Moderator):
Q: Would it be possible to organize similar chat sessions (maybe less frequent) as these at a time convenient for other parts of the world (I'm in Taiwan... 1:20AM now)?
A: Arthur, this is a great question. We've done some recent chats for our Indian developer community, but need to continue this for our worldwide audience. Thanks for the feedback!
JayLoney_MSFT (Expert):
Q: New PCCard model for CE5 implemented on our device. All works functionally, but if I insert/remove an 'unknown card' the socket # increases each time. "Unknown card in socket 1", 2, 3, ... seems to now be a logical ref rather than physical like 4.2. Why?
A: Yes, that's by design. It's implemented in a way that the driver will treat each slot as a logical number where the logical number is dynamically allocated
masatos_MSFT (Expert):
Q: I think Silence Suppression or Voice Activity Detection of VoIP is cutting out music as background noise. Can I adjust the silence threshold for multimedia sessions? Where is the source code for this part?
A: Do you have a VoIP gateway your call is going through? If so, the gateway should have a silence suppression setting that you can adjust to resolve this problem.
JohnMarc_MSFT (Expert):
Q: Is there a compact Avalon in the works for Windows CE?
A: We are always in the process of evaluating developing MS technologies for potential inclusion in CE. At present we cannot confirm there is a 'Compact Avalon' specifically in development. For 'Avalon' and other MS initiatives current underway we are evaluating these on a case by case basis for its potential use in future CE releases.
lindakim_MSFT (Expert):
Q: Is RDP a 5.0-only feature? Is it also included in 4.2, and is it part of the core license?
A: Yes, RDP is also included in 4.2. For the sku concern, use Run-time License Assessment Tool
https://msdn.microsoft.com/embedded/howtobuy/runtime/default.aspx.
Mikethom_MS (Expert):
Q: In WM2003SE, the VGA options are "true" VGA, and a "hack" is required to enable full 640x480 for various apps. Is this going to be exposed as part of the standard interface? What other improvements are going into the display technologies?
A: In the SE version an attempt was made to enable older applications to function correctly on a new VGA environment. If the APP understood how to deal with different screen sizes then it could report that to the OS in the RES section of the APP. If the APP also had the same version of the OS then it would also treat you as a smart APP. The APIs to figure out screen size, DPI, etc have always been available. It was just never required to use them since all screens were the same size. In general apps should code in such away to take advantage of future changes and not hardcode things like screen size and DPI.
YadhuG_MSFT (Expert):
Q: I am sorry, I mean what is the central web-link for WinCE 5.0 technical info.?
A: The main windows ce web site is https://msdn.microsoft.com/embedded/windowsce/default.aspx and you can find documentation and technical articles on https://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce50/html/windowsce_drivers.asp
mikefos_msft (Moderator):
Q: Can I ask a general question?
A: As long as it's related to Windows CE, we're happy to take a shot!
JayLoney_MSFT (Expert):
Q: I see most of the QFE's fix problems in the common and CE code but do not fix bugs in BSP's (like Mainstone) why is this and just who is responsible for the BSP code? (Intel or Microsoft?)
A: If it's in Platform Builder, MSFT is responsible for it. The general rule on QFE's though is that we only QFE public code if there is a huge impact or the fix is very complex. Otherwise, since BPS's are public code, we document the fix or allow the silicon to release the patch.
Mikethom_MS (Expert):
Q: We are developing for Pocket PCs... Currently, PPC 2002 and PPC 2003. I heard some people were talking about PPC 2005 version. Is it real? If so, can we use eVC++ 4.0 (for example) for developing PPC 2005?
A: You can typically always use an old tool set to build for new versions of the OS. This is kind of a requirement for backward compatibility. You just miss any new functions that could be in a newer tool set/SDK.
KarelD_MSFT (Expert):
Q: Where do I find documentation on the kernel C functions (like _inp(), etc.)?
A: Are documentation is available on MSDN, simply look for Windows CE. However to write application which read/write hardware port you need to use slightly different functions.
JayLoney_MSFT (Expert):
Q: When are we going to get devices with USB controllers on them?
A: Windows CE has supported USB controllers since the 2.0 release.
Mikethom_MS (Expert):
Q: I would like to use the AlphaBlend APIs but we're using CE 4.2. As I understand it AlphaBlend was released for CE 5.0. Is there a way to use a 5.0 feature in platform builder 4.2?
A: There is typically no way to back port a feature from a new OS to a older OS at the ISV level.
mikefos_msft (Moderator):
Q: Is there a command line tool for Windows Mobile 2k3 SE ?
A: I could be wrong, but I believe that there are third party solutions for this. There used to be a sneaky way to pop up a command line in the first version of PocketPC, but I don't think that this exists any longer. You might also consider checking microsoft.public.pocketpc.
JohnMarc_MSFT (Expert):
Q: Is a Direct3DM Driver required to support fixed point parameters?
A: A D3DM compliant driver that conforms to at least the 'Base Profile' definition is required for D3DM functionality on any given platform. As a part of the 'Base Profile', all D3DM compliant drivers must expose both floating point (IEEE 32-bit float) and fixed point (16.16) for all relevant interfaces and data types. While both fixed and floating point parameters must be exposed through the API in compliance with CETK precision limits, this can be implemented in the driver in any manner a driver writer chooses.
chigy_MSFT (Expert):
Q: Is CE5 free to download or would we have to pay to get it?
A: You can get Evaluation edition of Windows CE 5.0 from https://www.microsoft.com/downloads/details.aspx?FamilyID=486e8250-d311-4f67-9fb3-23e8b8944f3e&DisplayLang=en to use for evaluation purposes which is free.
KarelD_MSFT (Expert):
Q: I'm currently talking to a board on our system using _inp()s and _outp()s from the kernel. Is there a driver model that is similar to this?
A: Do you refer Windows CE kernel? There is ceddk.dll module which exports mapping function (to map physical address to virtual) and i/o function for both I/O and memory address space. Simply look to bunch of drivers in public\common\oak\drivers.
Mikethom_MS (Expert):
Q: I submitted report regarding a possible bug to the 'cefdbk@microsoft.com'. Is this email address actually monitored? I found what appears to be a bug in the way that code is compiled and I'd like to follow up on it.
A: This is not a support alias. You need to go to the news groups of call PSS.
[moderator’s note: Yes, this email address is monitored.]
lindakim_MSFT (Expert):
Q: Does MS plan to have certification path (like MCSD) for Embedded and Mobile track?
A: No, we do not have any plan for that at this moment.
APearson_MSFT (Expert):
Q: Has the Smart Display device been released yet?
A: Smart Display was released two years ago, but has since been discontinued.
KarelD_MSFT (Expert):
Q: Any plans on implementation of Suspend/Resume on Mainstone BSP?
A: It will be supported in future releases. If you have project where you need it contact us through other channels.
mikefos_msft (Moderator):
If you’re just joining us, welcome to today’s chat. Our chat today about Windows CE 5.0! Your questions, comments and feedback are welcome.
Just a reminder that to post a question for our experts, please remember to check the 'Submit a Question' radio button.
Mikethom_MS (Expert):
Q: Does CE5 come with Windows Paint pre-installed?
A: If you are talking about a Paint application then the answer is no.
mikefos_msft (Moderator):
Q: Is WM2005 team here? Please add ascending alarm feature back to WM2005.
A: The experts in today's chat are from our Windows CE team. I'm thinking that next time perhaps it would be worthwhile to invite a few Windows Mobile folks along? ;-)
YadhuG_MSFT (Expert):
Q: Is it possible under CE5.0 to support 12 to 16 Hard Drives? If not what is the limit to HDD/Partitions that is supported? When CE5.0 was first released I tried delving into source and modifying it but didn't get it working. Is it possible?
A: By default the ATAPI driver supports only a primary & secondary controller with each one having a master/slave drive. To add support for multiple drives you can either modify the base class of the ATAPI driver or better just have ATAPI loaded multiple times and have it point at the different I/O location. As far as the rest of the system, there should not be any problems in mounting this many volumes/partitions. The only limitation is the number of volume mount points is limited to 256.
BorMing_MS (Expert):
Q: Is there a class like CMemoryState that works under CE to get the current memory usage that could help look for memory leaks?
A: Not currently. You can use GlobalMemoryStatus to find out the memory available. In addition, you can use lmemdebug, celog, to track heap allocations/deallocation and find out where the memory leak is.
APearson_MSFT (Expert):
Q: Does CE5 have a minimize button and a close button for programs? Really, really annoying
A: The Windows CE operating system supports minimize and close buttons, but they are not supported by Windows Mobile platforms.
mikefos_msft (Moderator):
Q: Will the CF framework 2.0 be released separately for inclusion in 4.2 PB and the CE community. Or will it only be bundled with the VS 2005 release?
A: I believe that the .NETCF 2.0 will be available in the same fashion as v1. That is, as a part of the next version of the developer tools as well as a separate download for placement on devices which don't have it.
russellk_MSFT (Expert):
Q: Suspected compiler issue. I annotated the assembler output from the PB5 compiler to describe the problem. It shows a multiply is skipped when it shouldn't be. I suspected my volatile qualifications, they're ok. Shall I just post to newsgroups?
A: If you have a repro case, feel free to post to the newsgroups or send to me directly. A preprocessed file is best (/P compiler option) so that it doesn't have header dependencies. Also, please be sure to include the compiler command line that generated the bad code.
mikefos_msft (Moderator):
Q: mikefos - is there a transcript available of this chat session after its completion (or previous sessions). It is 4:45AM (Sydney) and I would like to go back to sleep but not miss anything. This has been great.
A: Yes! There will be a transcript available. Now go back to sleep! :-)
JohnMarc_MSFT (Expert):
Q: If a D3DM driver has the D3DMDEVCAPS_NATIVEFLOAT flag set does it mean that the driver only supports Floating point input or can accept fixed point input and the drawing will be done with floating point?
A: All drivers must accept both floating point and fixed point data types. D3DMDEVCAPS_NATIVEFLOAT is a 'hint' to inform the application writer that the underlying driver can process floating point data types natively (such as through floating point HW) rather than through a less than optimal floating point SW emulation layer. This is designed to serve as a guide on the performance expectation of either the fixed or floating pipeline on a particular driver.
lindakim_MSFT (Expert):
Q: When debugging on eVC for the first time in a session, why does it look for commdlg.dll? It doesn't seem to need it, as I can just hit Cancel and bypass the dialog.
A: We haven't seen this problem internally. If you consistently reproduce this problem, please post more detail info to the newsgroup.
Mikethom_MS (Expert):
Q: Mikethom follow up: I want to use device methods, to set up wifi, or to install software across a large array of devices.
A: If you have some type of SMS management software on you can easily do this. If not then it is hard because you need to talk to something on the device to receive a package and auto install. The SMS client that comes with WinCE could do this.
mikefos_msft (Moderator):
Thanks again for all of your questions. We're currently trying to catch up... Thanks for your patience!
KarelD_MSFT (Expert):
Q: If you wanted to create a Kiosk application to a WMSE device, does that application need to run in /windows/startup, or can it be specified in the registry to launch ahead of the shell.
A: You can replace shell at all. It really depends on your need. Check [HKEY_LOCAL_MACHINE]\init registry key. There are "LaunchXXX" values which specify application run in filesys (in number order).
chetl_MSFT (Expert):
Q: In CE, If dialogs are hidden, do timers update their data in the background?
A: Hi Jim. Let's answer this question first and then work towards your 25 dialogs with timers question :)
JayLoney_MSFT (Expert):
Q: New PCCard model for CE5 implemented on our device. All works functionally, but if I insert/remove an 'unknown card' the socket # increases each time. "Unknown card in socket 1", 2, 3, ... seems to now be a logical ref rather than physical like 4.2. Why?
A: Each handle has to be unique.
charlz_MSFT (Expert):
Q: Somebody wrote this (PPC 2005 = Windows Mobile 2005 = Win CE 5)... I do not agree though... I believe that PPC in general is a device (specific set of SW+HW) based on a certain WinCE platform. So, now WinCE 5.0 is out... what is the PPC spec goes with it?
A: They are not the same thing. PPC and SmartPhone releases are generally an addition to the Core CE release.
masatos_MSFT (Expert):
Q: Hi, JayLoney. VoIP is a template. I can build a VoIP image on emulator. I can change the public\VoIP code to modify the interface. But it will affect the emulator. How can I clone and change the VoIP application/interface just for my project/platform?
A: Make a copy of C:\WINCE500\PUBLIC\VOIP\OAK\PHONE to C:\WINCE500\PUBLIC\VOIP\OAK\PHONE2, and then compile the PHONE2 directory. This should work for UI... not so sure about VAIL, but it should work too
APearson_MSFT (Expert):
Q: In CE, If dialogs are hidden, do timers update their data in the background?
A: I believe that WM_TIMER messages are still generated and delivered. In general, windows that are hidden shouldn't try to update themselves because it prevents the CPU from entering its low power idle state.
charlz_MSFT (Expert):
Q: Somebody wrote this (PPC 2005 = Windows Mobile 2005 = Win CE 5)... I do not agree though... I believe that PPC in general is a device (specific set of SW+HW) based on a certain WinCE platform. So, now WinCE 5.0 is out... what is the PPC spec goes with it?
A: We cannot announce pre-released software on this chat. But keep up with any announcements on the site https://www.microsoft.com/windowsmobile/smartphone/default.mspx
mikefos_msft (Moderator):
Q: I am developing an application using VB.NET. There are quite a few data entry fields on my forms, is there a way using reflection type techniquest to loop through all the fields and save their values? Please Advise...
A: Thanks for the question. Our experts in today's chat are members of the Windows CE product group and couldn't program their way out of a wet paper bag in VB.NET (ducking ;-) ). I'd suggest posting either to the VB-specific newsgroups, or checking out msdn.microsoft.com/chats for the next VB chat. Sorry about that.
chetl_MSFT (Expert):
Q: With 25 dialog classes all create()'ed on initialization, is it better to automatically update controls with a single timer or with one for each class?
A: 25 timers is probably more than you want to manage - if there is a single piece of information that gets generated and then you want the information to appear on all those dialogs it would be easier to have one timer and then after the event is handled broadcast the new information to your other dialogs - maybe with a WM_USER message that means "hey, we have new information so update your internal class info and update your display"
APearson_MSFT (Expert):
Q: Is there a system event that gets signaled when all entries in the [HLK\init] section have been processed?
A: Yes. The event "SYSTEM/SystemStarted" is signaled after all apps have been launched. This is a manual-reset event, and was introduced in CE 5.0 I believe.
JohnMarc_MSFT (Expert):
Q: My Q simplified: Are there any vendor has video/directx drivers which supports scaling of video?
A: Scaling support for video drivers is something that is generally exposed through Video Port functionality (for a DDraw enabled platform). If the HW you're using includes Video Port HW and the driver is properly enabled, scaling should be an option you can leverage for your video playback. If you are developing your project with specific constraints, I would recommend a board that exposes this functionality you have easy access to for you design project.
mikefos_msft (Moderator):
We’ve got just a couple of minutes left in today’s Windows CE 5.0 chat. We're trying to wrap up the last few questions. If we aren't able to respond, we apologize. We tried to get to as many questions as we could.
Mikethom_MS (Expert):
Q: Why when you close an application, it doesn't "close", but seems to must minimize or hide, or am I missing something?
A: The functionality is specific to the PPC/SP class of devices. Any shell written in WinCE can do anything they want. The reason for employing this technique is to allow apps to quickly come back to where they were when you last used it. The APP itself can't tell the difference other then noticing that they are not on top/in focus. The Shell in the PPC case will shut the app down when memory becomes an issue. This is a similar technique on other devices.
lindakim_MSFT (Expert):
Q: Is there support for Mobile IP specific functionality in the network stack? If not, is this something that will be seen soon?
[Edited from original chat for clarity]
A: Please check the following sites for more information:
Windows Server 2003: Microsoft Internet Protocol Version 6 (IPv6) https://www.microsoft.com/windowsserver2003/technologies/ipv6/default.mspx
Mobile IPv6 Overview
https://research.microsoft.com/network/ipv6.aspx
Understanding Mobile IPv6
https://whitepapers.zdnet.co.uk/0,39025945,60092802p-39000590q,00.htm
Microsoft IPv6 Technology Preview for Windows 2000
https://msdn.microsoft.com/downloads/sdks/platform/tpipv6.asp
KarelD_MSFT (Expert):
Q: If a system is configured to run in full kernel mode - does that mean there are fixed TLB entries set up for the entire address space on the device or that there is just no memory protection between process slots?
A: In full kernel mode there is no protection between process slots.
BorMing_MS (Expert):
Q: Is there a way to force certain TLB entries to be reserved so that there is never a TLB miss when touching a particular part of memory?
A: You can 'hot-wire' TLB in OAL, if the particular CPU has the support (x86 doesn't, for example). Kernel doesn't have any support for wiring TLB.
YadhuG_MSFT (Expert):
Q: Where can I find examples of using the Shim technology in CE 4.2 and 5.0 to shim device drivers? Are there white papers published on using this technology?
A: Are you talking about app verifier shims ? If so then I don't think we have any additonal documentation on this other then how to use the existing shims. If you are talking about just shiming any process then you would need to go the route of injection https://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecoreos5/html/wce50coninjectingadllintoaprocessspace.asp.
BorMing_MS (Expert):
Q: Does a single TLB entry only represent a page or does it represent a single contiugous range of memory?
A: each TLB entry is 1 page if filled by kernel. If you hot-wire TLB, you can have TLB entry map to larger ranges, depending on CPU.
chetl_MSFT (Expert):
Q: I'm trying to implement a PS_ENDCAP_ROUND pen style, which isn't supported on CE. Does anyone have some ideas for how to emulate this pen style? I'm using a polyline right now and it's fairly fast, but if there's a better way I'm interested to hear it.
A: Well, you could calculate the radius of the circle that would fit as your endcap, then when drawing prepend and postpend the half circle with your own code. You may have to also adjust your drawing start and end points when drawing with the pen to get the effect you want. That would technically duplicate the same effect as having the ENDCAP_ROUND penstyle. Hint: The radius of the circle should be the same as the width of your penline. So there would be some calculation required on the part of your code to make things line up nicely, but it would be possible to duplicate the effect this way.
mikefos_msft (Moderator):
Thank you for joining us today for our Windows Windows CE 5.0! chat.
We welcome any feedback about this chat. Please forward comments, suggestions or any other feedback to edevfdbk@microsoft.com
We hope to see you again for another chat in the future!
Top of page