Lines Matching refs:WIN
24 #define WIN // scope W32 API macro
201 m_pCmdLine = WIN::GetCommandLine(); in Initialize()
207 WIN::LoadString( hInst, IDS_APP_TITLE, m_pAppTitle, MAX_STR_CAPTION ); in Initialize()
213 if ( 0 == WIN::GetModuleFileName( hInst, m_pModuleFile, MAX_PATH ) ) in Initialize()
215 SetError( WIN::GetLastError() ); in Initialize()
284 SetError( WIN::GetLastError() ); in GetProfileSection()
468 SetError( WIN::GetLastError() ); in GetPatches()
521 SetError( WIN::GetLastError() ); in GetPathToFile()
550 SetError( WIN::GetLastError() ); in GetPathToFile()
783 DWORD nRet = WIN::GetSystemDirectory( sMsiFolder, nMsiFolderSize ); in GetPathToMSI()
790 nRet = WIN::GetSystemDirectory( sMsiFolder, nMsiFolderSize ); in GetPathToMSI()
795 SetError( WIN::GetLastError() ); in GetPathToMSI()
859 if ( !WIN::CreateProcess( NULL, sCmdLine, NULL, NULL, FALSE, in LaunchInstaller()
864 SetError( WIN::GetLastError() ); in LaunchInstaller()
1046 … WIN::LoadString( m_hInst, IDS_FILE_NOT_FOUND, sTmp, MAX_TEXT_LENGTH ); in DisplayError()
1050 … WIN::LoadString( m_hInst, IDS_INVALID_PROFILE, sError, MAX_TEXT_LENGTH ); in DisplayError()
1052 case ERROR_OUTOFMEMORY: WIN::LoadString( m_hInst, IDS_OUTOFMEM, sError, MAX_TEXT_LENGTH ); in DisplayError()
1055 … WIN::LoadString( m_hInst, IDS_USER_CANCELLED, sError, MAX_TEXT_LENGTH ); in DisplayError()
1058 … WIN::LoadString( m_hInst, IDS_ALREADY_RUNNING, sError, MAX_TEXT_LENGTH ); in DisplayError()
1061 WIN::LoadString( m_hInst, IDS_NOMSI, sError, MAX_TEXT_LENGTH ); in DisplayError()
1064 … WIN::LoadString( m_hInst, IDS_REQUIRES_ADMIN_PRIV, sError, MAX_TEXT_LENGTH ); in DisplayError()
1066 … case E_ABORT: WIN::LoadString( m_hInst, IDS_UNKNOWN_ERROR, sError, MAX_TEXT_LENGTH ); in DisplayError()
1069 … WIN::LoadString( m_hInst, IDS_INVALID_PARAM, sTmp, MAX_TEXT_LENGTH ); in DisplayError()
1074 WIN::LoadString( m_hInst, IDS_SETUP_TO_OLD, sTmp, MAX_TEXT_LENGTH ); in DisplayError()
1078 … WIN::LoadString( m_hInst, IDS_SETUP_NOT_FOUND, sTmp, MAX_TEXT_LENGTH ); in DisplayError()
1083 WIN::LoadString( m_hInst, IDS_USAGE, sError, MAX_TEXT_LENGTH ); in DisplayError()
1086 … default: WIN::LoadString( m_hInst, IDS_UNKNOWN_ERROR, sError, MAX_TEXT_LENGTH ); in DisplayError()
1095 WIN::MessageBox( NULL, sError, m_pAppTitle, nMsgType ); in DisplayError()
1116 case 1028: WIN::LoadString( m_hInst, IDS_LANGUAGE_ZH_TW, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1117 case 1029: WIN::LoadString( m_hInst, IDS_LANGUAGE_CS, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1118 case 1030: WIN::LoadString( m_hInst, IDS_LANGUAGE_DA, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1119 case 1031: WIN::LoadString( m_hInst, IDS_LANGUAGE_DE_DE, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1120 case 1032: WIN::LoadString( m_hInst, IDS_LANGUAGE_EL, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1121 case 1033: WIN::LoadString( m_hInst, IDS_LANGUAGE_EN_US, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1122 case 1034: WIN::LoadString( m_hInst, IDS_LANGUAGE_ES, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1123 case 1035: WIN::LoadString( m_hInst, IDS_LANGUAGE_FI, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1124 case 1036: WIN::LoadString( m_hInst, IDS_LANGUAGE_FR_FR, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1125 case 1037: WIN::LoadString( m_hInst, IDS_LANGUAGE_HE, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1126 case 1038: WIN::LoadString( m_hInst, IDS_LANGUAGE_HU, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1127 case 1040: WIN::LoadString( m_hInst, IDS_LANGUAGE_IT_IT, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1128 case 1041: WIN::LoadString( m_hInst, IDS_LANGUAGE_JA, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1129 case 1042: WIN::LoadString( m_hInst, IDS_LANGUAGE_KO, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1130 case 1043: WIN::LoadString( m_hInst, IDS_LANGUAGE_NL_NL, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1131 case 1044: WIN::LoadString( m_hInst, IDS_LANGUAGE_NO_NO, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1132 case 1045: WIN::LoadString( m_hInst, IDS_LANGUAGE_PL, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1133 case 1046: WIN::LoadString( m_hInst, IDS_LANGUAGE_PT_BR, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1134 case 1049: WIN::LoadString( m_hInst, IDS_LANGUAGE_RU, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1135 case 1051: WIN::LoadString( m_hInst, IDS_LANGUAGE_SK, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1136 case 1053: WIN::LoadString( m_hInst, IDS_LANGUAGE_SV_SE, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1137 case 1054: WIN::LoadString( m_hInst, IDS_LANGUAGE_TH, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1138 case 1055: WIN::LoadString( m_hInst, IDS_LANGUAGE_TR, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1139 case 1061: WIN::LoadString( m_hInst, IDS_LANGUAGE_ET, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1140 case 2052: WIN::LoadString( m_hInst, IDS_LANGUAGE_ZH_CN, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1141 case 2070: WIN::LoadString( m_hInst, IDS_LANGUAGE_PT_PT, sName, MAX_LANGUAGE_LEN ); break; in GetLanguageName()
1147 WIN::LoadString( m_hInst, IDS_UNKNOWN_LANG, sTmp, MAX_LANGUAGE_LEN ); in GetLanguageName()
1330 hMutex = WIN::CreateMutex( NULL, FALSE, sMutexName ); in AlreadyRunning()
1332 if ( !hMutex || ERROR_ALREADY_EXISTS == WIN::GetLastError() ) in AlreadyRunning()
1357 switch ( WIN::MsgWaitForMultipleObjects( 1, &hHandle, false, in WaitForProcess()
1365 if ( WIN::PeekMessage( &aMsg, NULL, NULL, NULL, PM_REMOVE ) ) in WaitForProcess()
1367 WIN::TranslateMessage( &aMsg ); in WaitForProcess()
1368 WIN::DispatchMessage( &aMsg ); in WaitForProcess()
1375 nResult = WIN::GetLastError(); in WaitForProcess()
1689 if ( WIN::OpenProcessToken( WIN::GetCurrentProcess(), TOKEN_READ, &hAccessToken ) ) in IsAdmin()
1692 bSuccess = WIN::GetTokenInformation( hAccessToken, TokenGroups, in IsAdmin()
1701 bSuccess = WIN::GetTokenInformation( hAccessToken, TokenGroups, in IsAdmin()
1706 WIN::CloseHandle( hAccessToken ); in IsAdmin()
1713 if( WIN::EqualSid( aPsidAdmin, pGroups->Groups[i].Sid ) ) in IsAdmin()
1725 WIN::FreeSid( aPsidAdmin ); in IsAdmin()
1794 WIN::LoadString( m_hInst, IDS_APP_PROD_TITLE, pAppProdTitle, MAX_STR_CAPTION ); in SetProdToAppTitle()
1932 if ( !WIN::CreateProcess( NULL, sCmdLine, NULL, NULL, FALSE, in InstallRuntimes()
1937 SetError( WIN::GetLastError() ); in InstallRuntimes()