다음을 통해 공유


TUI Startup and Initialization (Windows CE 5.0)

Send Feedback

In the OS design created by the IP Phone advanced design template, the TUI application starts when the OS boots.

This is caused by the following text in %_WINCEROOT%\Public\VoIP\OAK\Files\voip.reg.

; Launch the VoIP UI on startup
[HKEY_LOCAL_MACHINE\init]
    "Launch97"="voipui.exe"
    "Depend97"=hex:1e,00

The application entry point is the WinMain function in %_WINCEROOT%\Public\VoIP\OAK\Phone\TUI\Main.cpp.

WinMain does a variety of initialization tasks and then creates the CVoIPApp instance and calls CVoIPApp::Run.

CVoIPApp::Run does internal TUI initialization, including attempting to provision the phone and register with the user's SIP proxy server, and then begins the application message pump that drives the rest of the application.

When the application shuts down, CVoIPApp::Run and WinMain clean up various objects and pieces of memory, and then the application shuts down.

See Also

Examining the TUI Implementation

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.