InitInstance Member Function

HomeOverviewHow Do ISampleTutorial

Windows allows you to run more than one copy, or "instance," of the same application. WinMain calls InitInstance every time a new instance of the application starts.

The standard InitInstance implementation created by AppWizard performs the following tasks:

You can add your own initialization code or modify the code written by the wizard.