Microsoft DirectX 9.0 SDK Update (October 2004)

Framework.MainLoop Method

Language:

Note: This documentation is preliminary and is subject to change.

Starts the main execution loop of the sample framework.

Definition

Visual Basic .NET Public Sub MainLoop()
C# public void MainLoop();
Managed C++ public: void MainLoop();
JScript .NET public function MainLoop();

Remarks

This method starts the message loop that will run for the lifetime of the application. During execution, MainLoop calls the registered callback functions to inform the application of input events and to trigger resource management and render calls.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center