Lines Matching refs:nRet

598             LONG nRet = -1;  in ImplTestSalJobSetup()  local
601 nRet = DocumentPropertiesW( 0, hPrn, in ImplTestSalJobSetup()
607 nRet = DocumentPropertiesA( 0, hPrn, in ImplTestSalJobSetup()
611 if( nRet < 0 ) in ImplTestSalJobSetup()
674 LONG nRet; in ImplUpdateSalJobSetup() local
730 nRet = DocumentPropertiesW( hWnd, hPrn, in ImplUpdateSalJobSetup()
736 nRet = DocumentPropertiesA( hWnd, hPrn, in ImplUpdateSalJobSetup()
744 if( (nRet < 0) || (pVisibleDlgParent && (nRet == IDCANCEL)) ) in ImplUpdateSalJobSetup()
1589 int nRet = ImplDeviceCaps( this, DC_ORIENTATION, NULL, pSetupData ); in GetLandscapeAngle() local
1591 if( nRet != GDI_ERROR ) in GetLandscapeAngle()
1592 return nRet * 10; in GetLandscapeAngle()
1657 DWORD nRet = ImplDeviceCaps( this, DC_BINS, NULL, pSetupData ); in GetPaperBinCount() local
1658 if ( nRet && (nRet != GDI_ERROR) ) in GetPaperBinCount()
1659 return nRet; in GetPaperBinCount()
1676 DWORD nRet = ImplDeviceCaps( this, DC_BINNAMES, (BYTE*)pBuffer, pSetupData ); in GetPaperBinName() local
1677 if ( nRet && (nRet != GDI_ERROR) ) in GetPaperBinName()
1684 DWORD nRet = ImplDeviceCaps( this, DC_BINNAMES, (BYTE*)pBuffer, pSetupData ); in GetPaperBinName() local
1685 if ( nRet && (nRet != GDI_ERROR) ) in GetPaperBinName()
1698 DWORD nRet; in GetCapabilities() local
1705 nRet = ImplDeviceCaps( this, DC_COPIES, NULL, pSetupData ); in GetCapabilities()
1706 if ( nRet && (nRet != GDI_ERROR) ) in GetCapabilities()
1707 return nRet; in GetCapabilities()
1712 nRet = ImplDeviceCaps( this, DC_COLLATE, NULL, pSetupData ); in GetCapabilities()
1713 if ( nRet && (nRet != GDI_ERROR) ) in GetCapabilities()
1715 nRet = ImplDeviceCaps( this, DC_COPIES, NULL, pSetupData ); in GetCapabilities()
1716 if ( nRet && (nRet != GDI_ERROR) ) in GetCapabilities()
1717 return nRet; in GetCapabilities()
1723 nRet = ImplDeviceCaps( this, DC_ORIENTATION, NULL, pSetupData ); in GetCapabilities()
1724 if ( nRet && (nRet != GDI_ERROR) ) in GetCapabilities()
1729 nRet = ImplDeviceCaps( this, DC_BINS, NULL, pSetupData ); in GetCapabilities()
1730 if ( nRet && (nRet != GDI_ERROR) ) in GetCapabilities()
1736 nRet = ImplDeviceCaps( this, DC_PAPERS, NULL, pSetupData ); in GetCapabilities()
1737 if ( nRet && (nRet != GDI_ERROR) ) in GetCapabilities()
1943 int nRet = 0; in lcl_StartDocW() local
1945 nRet = ::StartDocW( hDC, pInfo ); in lcl_StartDocW()
1947 return nRet; in lcl_StartDocW()
1952 int nRet = 0; in lcl_StartDocA() local
1954 nRet = ::StartDocA( hDC, pInfo ); in lcl_StartDocA()
1956 return nRet; in lcl_StartDocA()
2130 int nRet = lcl_StartDocW( hDC, &aInfo, this ); in StartJob() local
2132 if ( nRet <= 0 ) in StartJob()
2135 …if ( (nRet == SP_USERABORT) || (nRet == SP_APPABORT) || (nError == ERROR_PRINT_CANCELLED) || (nErr… in StartJob()
2166 int nRet = lcl_StartDocA( hDC, &aInfo, this ); in StartJob() local
2167 if ( nRet <= 0 ) in StartJob()
2170 …if ( (nRet == SP_USERABORT) || (nRet == SP_APPABORT) || (nError == ERROR_PRINT_CANCELLED) || (nErr… in StartJob()
2305 int nRet = 0; in StartPage() local
2307 nRet = ::StartPage( hDC ); in StartPage()
2310 if ( nRet <= 0 ) in StartPage()
2344 int nRet = 0; in EndPage() local
2346 nRet = ::EndPage( hDC ); in EndPage()
2349 if ( nRet > 0 ) in EndPage()