int main( void )
{
// Ищем наш инсталл
HWND mWnd = FindWindow( L"TWizardForm", L"Установка — RPG Maker MV" );
if( !mWnd )
return 0;
HWND Notebook1 = FindWindowEx( mWnd, 0, L"TNewNotebook", L"" );
if( !Notebook1 )
return 0;
HWND Notebook2 = FindWindowEx( Notebook1, 0, L"TNewNotebookPage", L"" );
if( !Notebook2 )
return 0;
HWND Notebook3 = FindWindowEx( Notebook2, 0, L"TNewNotebook", L"" );
if( !Notebook3 )
return 0;
HWND Notebook4 = FindWindowEx( Notebook3, 0, L"TNewNotebookPage", L"" );
if( !Notebook4 )
return 0;
HWND PB = FindWindowEx( Notebook4, 0, L"TNewProgressBar", L"" );
if( !PB )
return 0;
int Num = SendMessage( PB, PBM_GETPOS, 0, 0 );
return 0;
}