◄CWinApp► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── virtual int ExitInstance(); Remarks Override this function to clean up when your application terminates. ExitInstance is called by the default ◄Run► member function. Return Value The application's exit code, where 0 indicates no errors and values greater than 0 indicate an error. This value is used as the return value from WinMain. -♦-