CWinApp::GetFirstDocTemplatePosition
Visual Studio 2012
Gets the position of the first document template in the application.
POSITION GetFirstDocTemplatePosition( ) const;
Use the POSITION value returned in a call to GetNextDocTemplate to get the first CDocTemplate object.