Lines Matching refs:nRet

283     DWORD nRet = GetPrivateProfileSection( pSection, *pRetBuf, rSize, pFileName );  in GetProfileSection()  local
285 if ( nRet && ( nRet + 2 > rSize ) ) // buffer was too small, retry with bigger one in GetProfileSection()
287 if ( nRet < 32767 - 2 ) in GetProfileSection()
290 rSize = nRet + 2; in GetProfileSection()
293 nRet = GetPrivateProfileSection( pSection, *pRetBuf, rSize, pFileName ); in GetProfileSection()
297 if ( !nRet ) in GetProfileSection()
306 else if ( nRet + 2 > rSize ) in GetProfileSection()
589 int nRet = lstrlen( pLine ) + 1; in GetNameValue() local
592 if ( nRet == 1 ) in GetNameValue()
593 return nRet; in GetNameValue()
610 return nRet; in GetNameValue()
627 return nRet; in GetNameValue()
729 DWORD nRet = WIN::GetSystemDirectory( sMsiFolder, nMsiFolderSize ); in GetPathToMSI() local
730 if ( nRet > nMsiFolderSize ) in GetPathToMSI()
733 sMsiFolder = new TCHAR[ nRet ]; in GetPathToMSI()
734 nMsiFolderSize = nRet; in GetPathToMSI()
736 nRet = WIN::GetSystemDirectory( sMsiFolder, nMsiFolderSize ); in GetPathToMSI()
738 if ( 0 == nRet ) in GetPathToMSI()
743 nMsiFolderSize = nRet; in GetPathToMSI()
1408 int nRet = ERROR_SUCCESS; in GetCmdLineParameters() local
1439 nRet = ERROR_INVALID_PARAMETER; in GetCmdLineParameters()
1464 nRet = ERROR_INVALID_PARAMETER; in GetCmdLineParameters()
1470 nRet = ERROR_OUTOFMEMORY; in GetCmdLineParameters()
1476 nRet = ERROR_OUTOFMEMORY; in GetCmdLineParameters()
1483 nRet = ERROR_OUTOFMEMORY; in GetCmdLineParameters()
1504 nRet = ERROR_OUTOFMEMORY; in GetCmdLineParameters()
1525 nRet = ERROR_INVALID_PARAMETER; in GetCmdLineParameters()
1540 nRet = ERROR_SHOW_USAGE; in GetCmdLineParameters()
1548 nRet = ERROR_OUTOFMEMORY; in GetCmdLineParameters()
1558 nRet = ERROR_OUTOFMEMORY; in GetCmdLineParameters()
1571 if ( nRet != ERROR_SUCCESS ) in GetCmdLineParameters()
1573 SetError( nRet ); in GetCmdLineParameters()
1785 UINT nRet = aoo_MsiGetSummaryInformation( NULL, szDatabasePath, 0, &hSummaryInfo ); in IsPatchInstalled() local
1787 if ( nRet != ERROR_SUCCESS ) in IsPatchInstalled()
1789 …intf( sBuf, 80, TEXT("ERROR: IsPatchInstalled: MsiGetSummaryInformation returned %u.\r\n"), nRet ); in IsPatchInstalled()
1797nRet = aoo_MsiSummaryInfoGetProperty( hSummaryInfo, PID_REVNUMBER, &uiDataType, NULL, NULL, szPatc… in IsPatchInstalled()
1799 if ( nRet != ERROR_SUCCESS ) in IsPatchInstalled()
1801 …ntf( sBuf, 80, TEXT("ERROR: IsPatchInstalled: MsiSummaryInfoGetProperty returned %u.\r\n"), nRet ); in IsPatchInstalled()
1806 nRet = aoo_MsiGetPatchInfo( szPatchID, INSTALLPROPERTY_LOCALPACKAGE, NULL, NULL ); in IsPatchInstalled()
1808 StringCchPrintf( sBuf, 80, TEXT(" GetPatchInfo for (%s) returned (%u)\r\n"), szPatchID, nRet ); in IsPatchInstalled()
1813 if ( nRet == ERROR_BAD_CONFIGURATION ) in IsPatchInstalled()
1815 else if ( nRet == ERROR_INVALID_PARAMETER ) in IsPatchInstalled()
1817 else if ( nRet == ERROR_MORE_DATA ) in IsPatchInstalled()
1819 else if ( nRet == ERROR_SUCCESS ) in IsPatchInstalled()
1821 else if ( nRet == ERROR_UNKNOWN_PRODUCT ) in IsPatchInstalled()
1823 else if ( nRet == ERROR_UNKNOWN_PROPERTY ) in IsPatchInstalled()
1831 INSTALLSTATE nRet = aoo_MsiQueryProductState( sProductCode ); in InstallRuntimes() local
1832 OutputDebugStringFormat( TEXT( "MsiQueryProductState returned <%d>\r\n" ), nRet ); in InstallRuntimes()
1833 if ( nRet == INSTALLSTATE_DEFAULT ) in InstallRuntimes()