From: <spa...@us...> - 2008-01-24 22:05:17
|
Revision: 2786 http://sashimi.svn.sourceforge.net/sashimi/?rev=2786&view=rev Author: spacepod Date: 2008-01-24 14:05:09 -0800 (Thu, 24 Jan 2008) Log Message: ----------- (renamed to explicate Xcalibur version number) Removed Paths: ------------- trunk/trans_proteomic_pipeline/src/mzXML/converters/ReAdW/xrawfile2.cpp trunk/trans_proteomic_pipeline/src/mzXML/converters/ReAdW/xrawfile2.h Deleted: trunk/trans_proteomic_pipeline/src/mzXML/converters/ReAdW/xrawfile2.cpp =================================================================== --- trunk/trans_proteomic_pipeline/src/mzXML/converters/ReAdW/xrawfile2.cpp 2008-01-23 23:56:34 UTC (rev 2785) +++ trunk/trans_proteomic_pipeline/src/mzXML/converters/ReAdW/xrawfile2.cpp 2008-01-24 22:05:09 UTC (rev 2786) @@ -1,1054 +0,0 @@ -// Created by Microsoft (R) C/C++ Compiler Version 14.00.50727.762 (57819b21). -// -// (xrawfile2.tli) -// -// Wrapper implementations for Win32 type library C:\Program Files\Xcalibur\system\programs\XRawfile2.dll -// compiler-generated file created 01/02/08 at 11:50:55 - DO NOT EDIT! - -#pragma once - -// -// interface IXRawfile wrapper method implementations -// - -inline HRESULT IXRawfile::Open ( _bstr_t szFileName ) { - HRESULT _hr = raw_Open(szFileName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::Close ( ) { - HRESULT _hr = raw_Close(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetFileName ( BSTR * pbstrFileName ) { - HRESULT _hr = raw_GetFileName(pbstrFileName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetCreatorID ( BSTR * pbstrCreatorID ) { - HRESULT _hr = raw_GetCreatorID(pbstrCreatorID); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetVersionNumber ( long * pnVersion ) { - HRESULT _hr = raw_GetVersionNumber(pnVersion); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetCreationDate ( DATE * pCreationDate ) { - HRESULT _hr = raw_GetCreationDate(pCreationDate); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::IsError ( long * pbIsError ) { - HRESULT _hr = raw_IsError(pbIsError); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::IsNewFile ( long * pbIsNewFile ) { - HRESULT _hr = raw_IsNewFile(pbIsNewFile); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetErrorCode ( long * pnErrorCode ) { - HRESULT _hr = raw_GetErrorCode(pnErrorCode); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetErrorMessage ( BSTR * pbstrErrorMessage ) { - HRESULT _hr = raw_GetErrorMessage(pbstrErrorMessage); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetWarningMessage ( BSTR * pbstrWarningMessage ) { - HRESULT _hr = raw_GetWarningMessage(pbstrWarningMessage); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowNumber ( long * pnSeqRowNumber ) { - HRESULT _hr = raw_GetSeqRowNumber(pnSeqRowNumber); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowSampleType ( long * pnSampleType ) { - HRESULT _hr = raw_GetSeqRowSampleType(pnSampleType); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowDataPath ( BSTR * pbstrDataPath ) { - HRESULT _hr = raw_GetSeqRowDataPath(pbstrDataPath); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowRawFileName ( BSTR * pbstrRawFileName ) { - HRESULT _hr = raw_GetSeqRowRawFileName(pbstrRawFileName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowSampleName ( BSTR * pbstrSampleName ) { - HRESULT _hr = raw_GetSeqRowSampleName(pbstrSampleName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowSampleID ( BSTR * pbstrSampleID ) { - HRESULT _hr = raw_GetSeqRowSampleID(pbstrSampleID); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowComment ( BSTR * pbstrComment ) { - HRESULT _hr = raw_GetSeqRowComment(pbstrComment); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowLevelName ( BSTR * pbstrLevelName ) { - HRESULT _hr = raw_GetSeqRowLevelName(pbstrLevelName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowUserText ( long nIndex, BSTR * pbstrUserText ) { - HRESULT _hr = raw_GetSeqRowUserText(nIndex, pbstrUserText); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowInstrumentMethod ( BSTR * pbstrInstrumentMethod ) { - HRESULT _hr = raw_GetSeqRowInstrumentMethod(pbstrInstrumentMethod); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowProcessingMethod ( BSTR * pbstrProcessingMethod ) { - HRESULT _hr = raw_GetSeqRowProcessingMethod(pbstrProcessingMethod); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowCalibrationFile ( BSTR * pbstrCalibrationFile ) { - HRESULT _hr = raw_GetSeqRowCalibrationFile(pbstrCalibrationFile); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowVial ( BSTR * pbstrVial ) { - HRESULT _hr = raw_GetSeqRowVial(pbstrVial); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowInjectionVolume ( double * pdInjVol ) { - HRESULT _hr = raw_GetSeqRowInjectionVolume(pdInjVol); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowSampleWeight ( double * pdSampleWt ) { - HRESULT _hr = raw_GetSeqRowSampleWeight(pdSampleWt); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowSampleVolume ( double * pdSampleVolume ) { - HRESULT _hr = raw_GetSeqRowSampleVolume(pdSampleVolume); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowISTDAmount ( double * pdISTDAmount ) { - HRESULT _hr = raw_GetSeqRowISTDAmount(pdISTDAmount); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowDilutionFactor ( double * pdDilutionFactor ) { - HRESULT _hr = raw_GetSeqRowDilutionFactor(pdDilutionFactor); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSeqRowUserLabel ( long nIndex, BSTR * pbstrUserLabel ) { - HRESULT _hr = raw_GetSeqRowUserLabel(nIndex, pbstrUserLabel); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::InAcquisition ( long * pbInAcquisition ) { - HRESULT _hr = raw_InAcquisition(pbInAcquisition); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNumberOfControllers ( long * pnNumControllers ) { - HRESULT _hr = raw_GetNumberOfControllers(pnNumControllers); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetControllerType ( long nIndex, long * pnControllerType ) { - HRESULT _hr = raw_GetControllerType(nIndex, pnControllerType); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::SetCurrentController ( long nControllerType, long nControllerNumber ) { - HRESULT _hr = raw_SetCurrentController(nControllerType, nControllerNumber); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetCurrentController ( long * pnControllerType, long * pnControllerNumber ) { - HRESULT _hr = raw_GetCurrentController(pnControllerType, pnControllerNumber); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNumSpectra ( long * pnNumberOfSpectra ) { - HRESULT _hr = raw_GetNumSpectra(pnNumberOfSpectra); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNumStatusLog ( long * pnNumberOfStatusLogEntries ) { - HRESULT _hr = raw_GetNumStatusLog(pnNumberOfStatusLogEntries); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNumErrorLog ( long * pnNumberOfErrorLogEntries ) { - HRESULT _hr = raw_GetNumErrorLog(pnNumberOfErrorLogEntries); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNumTuneData ( long * pnNumTuneData ) { - HRESULT _hr = raw_GetNumTuneData(pnNumTuneData); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetMassResolution ( double * pdMassResolution ) { - HRESULT _hr = raw_GetMassResolution(pdMassResolution); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetExpectedRunTime ( double * pdExpectedRunTime ) { - HRESULT _hr = raw_GetExpectedRunTime(pdExpectedRunTime); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNumTrailerExtra ( long * pnNumberOfTrailerExtraEntries ) { - HRESULT _hr = raw_GetNumTrailerExtra(pnNumberOfTrailerExtraEntries); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetLowMass ( double * pdLowMass ) { - HRESULT _hr = raw_GetLowMass(pdLowMass); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetHighMass ( double * pdHighMass ) { - HRESULT _hr = raw_GetHighMass(pdHighMass); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStartTime ( double * pdStartTime ) { - HRESULT _hr = raw_GetStartTime(pdStartTime); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetEndTime ( double * pdEndTime ) { - HRESULT _hr = raw_GetEndTime(pdEndTime); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetMaxIntegratedIntensity ( double * pdMaxIntegIntensity ) { - HRESULT _hr = raw_GetMaxIntegratedIntensity(pdMaxIntegIntensity); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetMaxIntensity ( long * pnMaxIntensity ) { - HRESULT _hr = raw_GetMaxIntensity(pnMaxIntensity); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetFirstSpectrumNumber ( long * pnFirstSpectrum ) { - HRESULT _hr = raw_GetFirstSpectrumNumber(pnFirstSpectrum); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetLastSpectrumNumber ( long * pnLastSpectrum ) { - HRESULT _hr = raw_GetLastSpectrumNumber(pnLastSpectrum); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstrumentID ( long * pnInstrumentID ) { - HRESULT _hr = raw_GetInstrumentID(pnInstrumentID); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInletID ( long * pnInletID ) { - HRESULT _hr = raw_GetInletID(pnInletID); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetErrorFlag ( long * pnErrorFlag ) { - HRESULT _hr = raw_GetErrorFlag(pnErrorFlag); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSampleVolume ( double * pdSampleVolume ) { - HRESULT _hr = raw_GetSampleVolume(pdSampleVolume); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSampleWeight ( double * pdSampleWeight ) { - HRESULT _hr = raw_GetSampleWeight(pdSampleWeight); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetVialNumber ( long * pnVialNumber ) { - HRESULT _hr = raw_GetVialNumber(pnVialNumber); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInjectionVolume ( double * pdInjectionVolume ) { - HRESULT _hr = raw_GetInjectionVolume(pdInjectionVolume); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetFlags ( BSTR * pbstrFlags ) { - HRESULT _hr = raw_GetFlags(pbstrFlags); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetAcquisitionFileName ( BSTR * pbstrFileName ) { - HRESULT _hr = raw_GetAcquisitionFileName(pbstrFileName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstrumentDescription ( BSTR * pbstrInstrumentDescription ) { - HRESULT _hr = raw_GetInstrumentDescription(pbstrInstrumentDescription); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetAcquisitionDate ( BSTR * pbstrAcquisitionDate ) { - HRESULT _hr = raw_GetAcquisitionDate(pbstrAcquisitionDate); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetOperator ( BSTR * pbstrOperator ) { - HRESULT _hr = raw_GetOperator(pbstrOperator); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetComment1 ( BSTR * pbstrComment1 ) { - HRESULT _hr = raw_GetComment1(pbstrComment1); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetComment2 ( BSTR * pbstrComment2 ) { - HRESULT _hr = raw_GetComment2(pbstrComment2); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSampleAmountUnits ( BSTR * pbstrSampleAmountUnits ) { - HRESULT _hr = raw_GetSampleAmountUnits(pbstrSampleAmountUnits); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInjectionAmountUnits ( BSTR * pbstrInjectionAmountUnits ) { - HRESULT _hr = raw_GetInjectionAmountUnits(pbstrInjectionAmountUnits); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetSampleVolumeUnits ( BSTR * pbstrSampleVolumeUnits ) { - HRESULT _hr = raw_GetSampleVolumeUnits(pbstrSampleVolumeUnits); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetFilters ( VARIANT * pvarFilterArray, long * pnArraySize ) { - HRESULT _hr = raw_GetFilters(pvarFilterArray, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::ScanNumFromRT ( double dRT, long * pnScanNumber ) { - HRESULT _hr = raw_ScanNumFromRT(dRT, pnScanNumber); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::RTFromScanNum ( long nScanNumber, double * pdRT ) { - HRESULT _hr = raw_RTFromScanNum(nScanNumber, pdRT); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetFilterForScanNum ( long nScanNumber, BSTR * pbstrFilter ) { - HRESULT _hr = raw_GetFilterForScanNum(nScanNumber, pbstrFilter); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetFilterForScanRT ( double dRT, BSTR * pbstrFilter ) { - HRESULT _hr = raw_GetFilterForScanRT(dRT, pbstrFilter); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetMassListFromScanNum ( long * pnScanNumber, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, long * pnArraySize ) { - HRESULT _hr = raw_GetMassListFromScanNum(pnScanNumber, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetMassListFromRT ( double * pdRT, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, long * pnArraySize ) { - HRESULT _hr = raw_GetMassListFromRT(pdRT, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNextMassListFromScanNum ( long * pnScanNumber, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, long * pnArraySize ) { - HRESULT _hr = raw_GetNextMassListFromScanNum(pnScanNumber, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetPrevMassListFromScanNum ( long * pnScanNumber, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, long * pnArraySize ) { - HRESULT _hr = raw_GetPrevMassListFromScanNum(pnScanNumber, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::IsProfileScanForScanNum ( long nScanNumber, long * pbIsProfileScan ) { - HRESULT _hr = raw_IsProfileScanForScanNum(nScanNumber, pbIsProfileScan); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::IsCentroidScanForScanNum ( long nScanNumber, long * pbIsCentroidScan ) { - HRESULT _hr = raw_IsCentroidScanForScanNum(nScanNumber, pbIsCentroidScan); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetScanHeaderInfoForScanNum ( long nScanNumber, long * pnNumPackets, double * pdStartTime, double * pdLowMass, double * pdHighMass, double * pdTIC, double * pdBasePeakMass, double * pdBasePeakIntensity, long * pnNumChannels, long * pbUniformTime, double * pdFrequency ) { - HRESULT _hr = raw_GetScanHeaderInfoForScanNum(nScanNumber, pnNumPackets, pdStartTime, pdLowMass, pdHighMass, pdTIC, pdBasePeakMass, pdBasePeakIntensity, pnNumChannels, pbUniformTime, pdFrequency); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStatusLogForScanNum ( long nScanNumber, double * pdStatusLogRT, VARIANT * pvarLabels, VARIANT * pvarValues, long * pnArraySize ) { - HRESULT _hr = raw_GetStatusLogForScanNum(nScanNumber, pdStatusLogRT, pvarLabels, pvarValues, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStatusLogForRT ( double * pdRT, VARIANT * pvarLabels, VARIANT * pvarValues, long * pnArraySize ) { - HRESULT _hr = raw_GetStatusLogForRT(pdRT, pvarLabels, pvarValues, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStatusLogLabelsForScanNum ( long nScanNumber, double * pdStatusLogRT, VARIANT * pvarLabels, long * pnArraySize ) { - HRESULT _hr = raw_GetStatusLogLabelsForScanNum(nScanNumber, pdStatusLogRT, pvarLabels, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStatusLogLabelsForRT ( double * pdRT, VARIANT * pvarLabels, long * pnArraySize ) { - HRESULT _hr = raw_GetStatusLogLabelsForRT(pdRT, pvarLabels, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStatusLogValueForScanNum ( long nScanNumber, _bstr_t bstrLabel, double * pdStatusLogRT, VARIANT * pvarValue ) { - HRESULT _hr = raw_GetStatusLogValueForScanNum(nScanNumber, bstrLabel, pdStatusLogRT, pvarValue); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStatusLogValueForRT ( double * pdRT, _bstr_t bstrLabel, VARIANT * pvarValue ) { - HRESULT _hr = raw_GetStatusLogValueForRT(pdRT, bstrLabel, pvarValue); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTrailerExtraForScanNum ( long nScanNumber, VARIANT * pvarLabels, VARIANT * pvarValues, long * pnArraySize ) { - HRESULT _hr = raw_GetTrailerExtraForScanNum(nScanNumber, pvarLabels, pvarValues, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTrailerExtraForRT ( double * pdRT, VARIANT * pvarLabels, VARIANT * pvarValues, long * pnArraySize ) { - HRESULT _hr = raw_GetTrailerExtraForRT(pdRT, pvarLabels, pvarValues, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTrailerExtraLabelsForScanNum ( long nScanNumber, VARIANT * pvarLabels, long * pnArraySize ) { - HRESULT _hr = raw_GetTrailerExtraLabelsForScanNum(nScanNumber, pvarLabels, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTrailerExtraLabelsForRT ( double * pdRT, VARIANT * pvarLabels, long * pnArraySize ) { - HRESULT _hr = raw_GetTrailerExtraLabelsForRT(pdRT, pvarLabels, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTrailerExtraValueForScanNum ( long nScanNumber, _bstr_t bstrLabel, VARIANT * pvarValue ) { - HRESULT _hr = raw_GetTrailerExtraValueForScanNum(nScanNumber, bstrLabel, pvarValue); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTrailerExtraValueForRT ( double * pdRT, _bstr_t bstrLabel, VARIANT * pvarValue ) { - HRESULT _hr = raw_GetTrailerExtraValueForRT(pdRT, bstrLabel, pvarValue); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetErrorLogItem ( long nItemNumber, double * pdRT, BSTR * pbstrErrorMessage ) { - HRESULT _hr = raw_GetErrorLogItem(nItemNumber, pdRT, pbstrErrorMessage); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTuneData ( long nSegmentNumber, VARIANT * pvarLabels, VARIANT * pvarValues, long * pnArraySize ) { - HRESULT _hr = raw_GetTuneData(nSegmentNumber, pvarLabels, pvarValues, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNumInstMethods ( long * pnNumInstMethods ) { - HRESULT _hr = raw_GetNumInstMethods(pnNumInstMethods); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstMethod ( long nInstMethodItem, BSTR * pbstrInstMethod ) { - HRESULT _hr = raw_GetInstMethod(nInstMethodItem, pbstrInstMethod); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetChroData ( long nChroType1, long nChroOperator, long nChroType2, _bstr_t bstrFilter, _bstr_t bstrMassRanges1, _bstr_t bstrMassRanges2, double dDelay, double * pdStartTime, double * pdEndTime, long nSmoothingType, long nSmoothingValue, VARIANT * pvarChroData, VARIANT * pvarPeakFlags, long * pnArraySize ) { - HRESULT _hr = raw_GetChroData(nChroType1, nChroOperator, nChroType2, bstrFilter, bstrMassRanges1, bstrMassRanges2, dDelay, pdStartTime, pdEndTime, nSmoothingType, nSmoothingValue, pvarChroData, pvarPeakFlags, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::RefreshViewOfFile ( ) { - HRESULT _hr = raw_RefreshViewOfFile(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTuneDataValue ( long nSegmentNumber, _bstr_t bstrLabel, VARIANT * pvarValue ) { - HRESULT _hr = raw_GetTuneDataValue(nSegmentNumber, bstrLabel, pvarValue); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetTuneDataLabels ( long nSegmentNumber, VARIANT * pvarLabels, long * pnArraySize ) { - HRESULT _hr = raw_GetTuneDataLabels(nSegmentNumber, pvarLabels, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstName ( BSTR * pbstrInstName ) { - HRESULT _hr = raw_GetInstName(pbstrInstName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstModel ( BSTR * pbstrInstModel ) { - HRESULT _hr = raw_GetInstModel(pbstrInstModel); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstSerialNumber ( BSTR * pbstrInstSerialNumber ) { - HRESULT _hr = raw_GetInstSerialNumber(pbstrInstSerialNumber); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstSoftwareVersion ( BSTR * pbstrInstSoftwareVersion ) { - HRESULT _hr = raw_GetInstSoftwareVersion(pbstrInstSoftwareVersion); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstHardwareVersion ( BSTR * pbstrInstHardwareVersion ) { - HRESULT _hr = raw_GetInstHardwareVersion(pbstrInstHardwareVersion); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstFlags ( BSTR * pbstrInstFlags ) { - HRESULT _hr = raw_GetInstFlags(pbstrInstFlags); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstNumChannelLabels ( long * pnInstNumChannelLabels ) { - HRESULT _hr = raw_GetInstNumChannelLabels(pnInstNumChannelLabels); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstChannelLabel ( long nChannelLabelNumber, BSTR * pbstrInstChannelLabel ) { - HRESULT _hr = raw_GetInstChannelLabel(nChannelLabelNumber, pbstrInstChannelLabel); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetNumberOfControllersOfType ( long nControllerType, long * pnNumControllersOfType ) { - HRESULT _hr = raw_GetNumberOfControllersOfType(nControllerType, pnNumControllersOfType); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetAverageMassList ( long * pnFirstAvgScanNumber, long * pnLastAvgScanNumber, long * pnFirstBkg1ScanNumber, long * pnLastBkg1ScanNumber, long * pnFirstBkg2ScanNumber, long * pnLastBkg2ScanNumber, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, long * pnArraySize ) { - HRESULT _hr = raw_GetAverageMassList(pnFirstAvgScanNumber, pnLastAvgScanNumber, pnFirstBkg1ScanNumber, pnLastBkg1ScanNumber, pnFirstBkg2ScanNumber, pnLastBkg2ScanNumber, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::IsThereMSData ( long * pbMSData ) { - HRESULT _hr = raw_IsThereMSData(pbMSData); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::HasExpMethod ( long * pbMethod ) { - HRESULT _hr = raw_HasExpMethod(pbMethod); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetFilterMassPrecision ( long * pnFilterMassPrecision ) { - HRESULT _hr = raw_GetFilterMassPrecision(pnFilterMassPrecision); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStatusLogForPos ( long nPos, VARIANT * pvarRT, VARIANT * pvarValue, long * pnArraySize ) { - HRESULT _hr = raw_GetStatusLogForPos(nPos, pvarRT, pvarValue, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetStatusLogPlottableIndex ( VARIANT * pvarIndex, VARIANT * pvarValues, long * pnArraySize ) { - HRESULT _hr = raw_GetStatusLogPlottableIndex(pvarIndex, pvarValues, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetInstMethodNames ( long * pnNumInstMethods, VARIANT * pvarNames ) { - HRESULT _hr = raw_GetInstMethodNames(pnNumInstMethods, pvarNames); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::SetMassTolerance ( long bUseUserDefined, double dMassTolerance, long nUnits ) { - HRESULT _hr = raw_SetMassTolerance(bUseUserDefined, dMassTolerance, nUnits); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile::GetChros ( long nNumChros, double * pdStartTime, double * pdEndTime, VARIANT * pvarChroParamsArray, VARIANT * pvarChroDataSizeArray, VARIANT * pvarChroDataArray, VARIANT * pvarPeakFlagsArray ) { - HRESULT _hr = raw_GetChros(nNumChros, pdStartTime, pdEndTime, pvarChroParamsArray, pvarChroDataSizeArray, pvarChroDataArray, pvarPeakFlagsArray); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -// -// interface IXRawfile2 wrapper method implementations -// - -inline HRESULT IXRawfile2::GetLabelData ( VARIANT * pvarLabels, VARIANT * pvarFlags, long * pnScanNumber ) { - HRESULT _hr = raw_GetLabelData(pvarLabels, pvarFlags, pnScanNumber); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile2::GetNoiseData ( VARIANT * pvarNoisePacket, long * pnScanNumber ) { - HRESULT _hr = raw_GetNoiseData(pvarNoisePacket, pnScanNumber); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile2::GetSegmentedMassListFromRT ( double * pdRT, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, long * pnArraySize, VARIANT * pvarSegments, long * pnNumSegments, VARIANT * pvarLowHighMassRange ) { - HRESULT _hr = raw_GetSegmentedMassListFromRT(pdRT, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, pnArraySize, pvarSegments, pnNumSegments, pvarLowHighMassRange); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile2::GetSegmentedMassListFromScanNum ( long * pnScanNumber, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, long * pnArraySize, VARIANT * pvarSegments, long * pnNumSegments, VARIANT * pvarLowHighMassRange ) { - HRESULT _hr = raw_GetSegmentedMassListFromScanNum(pnScanNumber, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, pnArraySize, pvarSegments, pnNumSegments, pvarLowHighMassRange); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile2::GetScanEventForScanNum ( long nScanNumber, BSTR * pbstrScanEvent ) { - HRESULT _hr = raw_GetScanEventForScanNum(nScanNumber, pbstrScanEvent); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile2::GetSeqRowUserTextEx ( long nIndex, BSTR * pbstrUserText ) { - HRESULT _hr = raw_GetSeqRowUserTextEx(nIndex, pbstrUserText); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile2::GetSeqRowBarcode ( BSTR * pbstrBarcode ) { - HRESULT _hr = raw_GetSeqRowBarcode(pbstrBarcode); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile2::GetSeqRowBarcodeStatus ( long * pnBarcodeStatus ) { - HRESULT _hr = raw_GetSeqRowBarcodeStatus(pnBarcodeStatus); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -// -// interface IXRawfile3 wrapper method implementations -// - -inline HRESULT IXRawfile3::GetMassListRangeFromScanNum ( long * pnScanNumber, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, LPWSTR szMassRange1, long * pnArraySize ) { - HRESULT _hr = raw_GetMassListRangeFromScanNum(pnScanNumber, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, szMassRange1, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile3::GetMassListRangeFromRT ( double * pdRT, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, LPWSTR szMassRange1, long * pnArraySize ) { - HRESULT _hr = raw_GetMassListRangeFromRT(pdRT, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, szMassRange1, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile3::GetNextMassListRangeFromScanNum ( long * pnScanNumber, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, LPWSTR szMassRange1, long * pnArraySize ) { - HRESULT _hr = raw_GetNextMassListRangeFromScanNum(pnScanNumber, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, szMassRange1, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile3::GetPrevMassListRangeFromScanNum ( long * pnScanNumber, _bstr_t bstrFilter, long nIntensityCutoffType, long nIntensityCutoffValue, long nMaxNumberOfPeaks, long bCentroidResult, double * pdCentroidPeakWidth, VARIANT * pvarMassList, VARIANT * pvarPeakFlags, LPWSTR szMassRange1, long * pnArraySize ) { - HRESULT _hr = raw_GetPrevMassListRangeFromScanNum(pnScanNumber, bstrFilter, nIntensityCutoffType, nIntensityCutoffValue, nMaxNumberOfPeaks, bCentroidResult, pdCentroidPeakWidth, pvarMassList, pvarPeakFlags, szMassRange1, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXRawfile3::GetPrecursorInfoFromScanNum ( long nScanNumber, VARIANT * pvarPrecursorInfos, long * pnArraySize ) { - HRESULT _hr = raw_GetPrecursorInfoFromScanNum(nScanNumber, pvarPrecursorInfos, pnArraySize); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -// -// interface IXVirMS wrapper method implementations -// - -inline HRESULT IXVirMS::Create ( LPWSTR szFileName ) { - HRESULT _hr = raw_Create(szFileName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::Close ( ) { - HRESULT _hr = raw_Close(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::GetFileName ( BSTR * pbstrFileName ) { - HRESULT _hr = raw_GetFileName(pbstrFileName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline long IXVirMS::GetIsError ( ) { - long _result = 0; - HRESULT _hr = get_IsError(&_result); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _result; -} - -inline long IXVirMS::GetErrorCode ( ) { - long _result = 0; - HRESULT _hr = get_ErrorCode(&_result); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _result; -} - -inline long IXVirMS::GetIsValid ( ) { - long _result = 0; - HRESULT _hr = get_IsValid(&_result); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _result; -} - -inline HRESULT IXVirMS::WriteInstID ( LPWSTR szName, LPWSTR szModel, LPWSTR szSerialNumber, LPWSTR szSoftwareRev, LPWSTR ExpType ) { - HRESULT _hr = raw_WriteInstID(szName, szModel, szSerialNumber, szSoftwareRev, ExpType); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteRunHeaderInfo ( double dExpectedRunTime, double dMassResolution, LPWSTR szComment1, LPWSTR szComment2 ) { - HRESULT _hr = raw_WriteRunHeaderInfo(dExpectedRunTime, dMassResolution, szComment1, szComment2); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteInstData ( unsigned char * pcData, long nDataSize, enum MS_PacketTypes eType ) { - HRESULT _hr = raw_WriteInstData(pcData, nDataSize, eType); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::SetTrailerHeaderNumFields ( long nFields ) { - HRESULT _hr = raw_SetTrailerHeaderNumFields(nFields); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::SetTrailerHeaderField ( long nIdx, LPWSTR szLabel, enum MS_DataTypes eDataType, long nPrecision ) { - HRESULT _hr = raw_SetTrailerHeaderField(nIdx, szLabel, eDataType, nPrecision); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteTrailerHeader ( ) { - HRESULT _hr = raw_WriteTrailerHeader(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::SetStatusLogHeaderNumFields ( long nFields ) { - HRESULT _hr = raw_SetStatusLogHeaderNumFields(nFields); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::SetStatusLogHeaderField ( long nIdx, LPWSTR szLabel, enum MS_DataTypes eDataType, long nPrecision ) { - HRESULT _hr = raw_SetStatusLogHeaderField(nIdx, szLabel, eDataType, nPrecision); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteStatusLogHeader ( ) { - HRESULT _hr = raw_WriteStatusLogHeader(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::SetTuneDataHeaderNumFields ( long nFields ) { - HRESULT _hr = raw_SetTuneDataHeaderNumFields(nFields); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::SetTuneDataHeaderField ( long nIdx, LPWSTR szLabel, enum MS_DataTypes eDataType, long nPrecision ) { - HRESULT _hr = raw_SetTuneDataHeaderField(nIdx, szLabel, eDataType, nPrecision); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteTuneDataHeader ( ) { - HRESULT _hr = raw_WriteTuneDataHeader(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteTuneData ( unsigned char * pcData ) { - HRESULT _hr = raw_WriteTuneData(pcData); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteStatusLog ( float fTime, unsigned char * pcData ) { - HRESULT _hr = raw_WriteStatusLog(fTime, pcData); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteTrailer ( unsigned char * pcData ) { - HRESULT _hr = raw_WriteTrailer(pcData); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::InitializeScanEvent ( struct MS_ScanEvent * pScanEvent ) { - HRESULT _hr = raw_InitializeScanEvent(pScanEvent); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::InitMethodScanEvents ( ) { - HRESULT _hr = raw_InitMethodScanEvents(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::SetMethodScanEvent ( long nSegment, long nScanEvent, struct MS_ScanEvent * pScanEvent ) { - HRESULT _hr = raw_SetMethodScanEvent(nSegment, nScanEvent, pScanEvent); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteMethodScanEvents ( ) { - HRESULT _hr = raw_WriteMethodScanEvents(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteScanIndex ( struct MS_ScanIndex * pScanIndex, struct MS_ScanEvent * pScanEvent ) { - HRESULT _hr = raw_WriteScanIndex(pScanIndex, pScanEvent); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteInstData2 ( long nNumPkts, struct MS_DataPeak * pPackets ) { - HRESULT _hr = raw_WriteInstData2(nNumPkts, pPackets); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::InitializeScanIndex ( long nScanIndexPosition, enum MS_PacketTypes eType ) { - HRESULT _hr = raw_InitializeScanIndex(nScanIndexPosition, eType); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirMS::WriteScanIndex2 ( struct MS_ScanIndex * pScanIndex ) { - HRESULT _hr = raw_WriteScanIndex2(pScanIndex); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -// -// interface IXVirUV wrapper method implementations -// - -inline HRESULT IXVirUV::Create ( LPWSTR szFileName ) { - HRESULT _hr = raw_Create(szFileName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirUV::Close ( ) { - HRESULT _hr = raw_Close(); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirUV::GetFileName ( BSTR * pbstrFileName ) { - HRESULT _hr = raw_GetFileName(pbstrFileName); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline long IXVirUV::GetIsError ( ) { - long _result = 0; - HRESULT _hr = get_IsError(&_result); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _result; -} - -inline long IXVirUV::GetErrorCode ( ) { - long _result = 0; - HRESULT _hr = get_ErrorCode(&_result); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _result; -} - -inline long IXVirUV::GetIsValid ( ) { - long _result = 0; - HRESULT _hr = get_IsValid(&_result); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _result; -} - -inline HRESULT IXVirUV::WriteErrorLog ( float fTime, LPWSTR szError ) { - HRESULT _hr = raw_WriteErrorLog(fTime, szError); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirUV::WriteInstID ( LPWSTR szName, LPWSTR szModel, LPWSTR szSerialNumber, LPWSTR szSoftwareRev, LPWSTR szLabel1, LPWSTR szLabel2, LPWSTR szLabel3, LPWSTR szLabel4 ) { - HRESULT _hr = raw_WriteInstID(szName, szModel, szSerialNumber, szSoftwareRev, szLabel1, szLabel2, szLabel3, szLabel4); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirUV::WriteRunHeaderInfo ( double dExpectedRunTime ) { - HRESULT _hr = raw_WriteRunHeaderInfo(dExpectedRunTime); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirUV::WriteInstData ( unsigned char * pcData, long nDataSize, enum MS_PacketTypes eType, long nDataLen ) { - HRESULT _hr = raw_WriteInstData(pcData, nDataSize, eType, nDataLen); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} - -inline HRESULT IXVirUV::WriteScanIndex ( struct MS_UVScanIndex * pScanIndex ) { - HRESULT _hr = raw_WriteScanIndex(pScanIndex); - if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this)); - return _hr; -} Deleted: trunk/trans_proteomic_pipeline/src/mzXML/converters/ReAdW/xrawfile2.h =================================================================== --- trunk/trans_proteomic_pipeline/src/mzXML/converters/ReAdW/xrawfile2.h 2008-01-23 23:56:34 UTC (rev 2785) +++ trunk/trans_proteomic_pipeline/src/mzXML/converters/ReAdW/xrawfile2.h 2008-01-24 22:05:09 UTC (rev 2786) @@ -1,1614 +0,0 @@ -// Created by Microsoft (R) C/C++ Compiler Version 14.00.50727.762 (57819b21). -// -// (xrawfile2.tlh) -// -// C++ source equivalent of Win32 type library C:\Program Files\Xcalibur\system\programs\XRawfile2.dll -// compiler-generated file created 01/02/08 at 11:50:55 - DO NOT EDIT! - -#pragma once -#pragma pack(push, 8) - -#include <comdef.h> - -namespace XRAWFILE2Lib { - -// -// Forward references and typedefs -// - -struct __declspec(uuid("5fe970a2-29c3-11d3-811d-00104b304896")) -/* LIBID */ __XRAWFILE2Lib; -enum __MIDL___MIDL_itf_XRawfile2_0000_0001; -enum __MIDL___MIDL_itf_XRawfile2_0000_0002; -enum __MIDL___MIDL_itf_XRawfile2_0000_0003; -enum __MIDL___MIDL_itf_XRawfile2_0000_0004; -enum MS_PacketTypes; -enum MS_Polarity; -enum MS_ScanData; -enum MS_Dep; -enum MS_Wideband; -enum MS_SourceCID; -enum MS_SourceCIDType; -enum MS_MSOrder; -enum MS_ScanType; -enum MS_TurboScan; -enum MS_IonizationMode; -enum MS_Corona; -enum MS_Detector; -enum MS_PrecursorEnergy; -struct MS_MassRange; -struct MS_ScanEvent; -struct MS_ScanIndex; -struct MS_UVScanIndex; -struct MS_DataPeak; -struct MS_PrecursorInfo; -struct __declspec(uuid("5fe970b1-29c3-11d3-811d-00104b304896")) -/* dual interface */ IXRawfile; -struct __declspec(uuid("5e256644-7300-481f-9d43-33d892bfd912")) -/* dual interface */ IXRawfile2; -struct __declspec(uuid("5e256644-7301-481f-9d43-33d892bfd912")) -/* dual interface */ IXRawfile3; -struct __declspec(uuid("55ea38b7-5419-4be4-9198-3e4d78e6a532")) -/* dual interface */ IXVirMS; -enum MS_DataTypes; -struct __declspec(uuid("1a2bf13f-4e2f-4e7d-9d67-435d5998312b")) -/* dual interface */ IXVirUV; -struct /* coclass */ XRawfile; -struct /* coclass */ XVirMS; -struct /* coclass */ XVirUV; - -// -// Smart pointer typedef declarations -// - -_COM_SMARTPTR_TYPEDEF(IXRawfile, __uuidof(IXRawfile)); -_COM_SMARTPTR_TYPEDEF(IXRawfile2, __uuidof(IXRawfile2)); -_COM_SMARTPTR_TYPEDEF(IXRawfile3, __uuidof(IXRawfile3)); -_COM_SMARTPTR_TYPEDEF(IXVirMS, __uuidof(IXVirMS)); -_COM_SMARTPTR_TYPEDEF(IXVirUV, __uuidof(IXVirUV)); - -// -// Type library items -// - -enum __MIDL___MIDL_itf_XRawfile2_0000_0001 -{ - MS_TRAILER_NOT_AVAILABLE = -1 -}; - -enum __MIDL___MIDL_itf_XRawfile2_0000_0002 -{ - MS_SCAN_TYPE_NOT_SPECIFIED = -1 -}; - -enum __MIDL___MIDL_itf_XRawfile2_0000_0003 -{ - MS_MAX_NUM_MASS_RANGES = 50 -}; - -enum __MIDL___MIDL_itf_XRawfile2_0000_0004 -{ - MS_MAX_MS_ORDER = 10 -}; - -enum MS_PacketTypes -{ - MS_PacketTypes_PROF_SP_TYPE = 0, - MS_PacketTypes_LR_SP_TYPE = 1, - MS_PacketTypes_HR_SP_TYPE = 2, - MS_PacketTypes_PROF_INDEX_TYPE = 3, - MS_PacketTypes_COMP_ACC_SP_TYPE = 4, - MS_PacketTypes_STD_ACC_SP_TYPE = 5, - MS_PacketTypes_STD_UNCAL_SP_TYPE = 6, - MS_PacketTypes_ACC_MASS_PROF_SP_TYPE = 7, - MS_PacketTypes_DG_xAQR_TYPE = 8, - MS_PacketTypes_DG_xAQR_INDEX_TYPE = 9, - MS_PacketTypes_DG_xASR_TYPE = 10, - MS_PacketTypes_DG_xASR_INDEX_TYPE = 11, - MS_PacketTypes_CHANNEL_UV_TYPE = 12, - MS_PacketTypes_MS_ANALOG_TYPE = 13, - MS_PacketTypes_PROF_SP_TYPE2 = 14, - MS_PacketTypes_LR_SP_TYPE2 = 15, - MS_PacketTypes_PROF_SP_TYPE3 = 16, - MS_PacketTypes_LR_SP_TYPE3 = 17 -}; - -enum MS_Polarity -{ - MS_Negative = 0, - MS_Positive = 1, - MS_AnyPolarity = 2 -}; - -enum MS_ScanData -{ - MS_Centroid = 0, - MS_Profile = 1, - MS_AcceptAnyScanData = 2 -}; - -enum MS_Dep -{ - MS_NotDependent = 0, - MS_Dependent = 1, - MS_AcceptAnyDep = 2 -}; - -enum MS_Wideband -{ - MS_WidebandOff = 0, - MS_WidebandOn = 1, - MS_AcceptAnyWideband = 2 -}; - -enum MS_SourceCID -{ - MS_SourceCIDon = 0, - MS_SourceCIDoff = 1, - MS_AcceptAnySourceCID = 2 -}; - -enum MS_SourceCIDType -{ - MS_SourceCIDTypeNoValue = 0, - MS_SourceCIDTypeSingleValue = 1, - MS_SourceCIDTypeRamp = 2, - MS_SourceCIDTypeSIM = 3, - MS_AcceptAnySourceCIDType = 4 -}; - -enum MS_MSOrder -{ - MS_ng = -3, - MS_nl = -2, - MS_par = -1, - MS_AcceptAnyMSorder = 0, - MS_ms = 1, - MS_ms2 = 2, - MS_ms3 = 3, - MS_ms4 = 4, - MS_ms5 = 5, - MS_ms6 = 6, - MS_ms7 = 7, - MS_ms8 = 8, - MS_ms9 = 9, - MS_ms10 = 10 -}; - -enum MS_ScanType -{ - MS_Fullsc = 0, - MS_Zoomsc = 1, - MS_SIMsc = 2, - MS_SRMsc = 3, - MS_CRMsc = 4, - MS_AcceptAnyScanType = 5, - MS_Q1MSsc = 6, - MS_Q3MSsc = 7 -}; - -enum MS_TurboScan -{ - MS_TurboScanOn = 0, - MS_TurboScanOff = 1, - MS_AcceptAnyTurboScan = 2 -}; - -enum MS_IonizationMode -{ - MS_ElectronImpact = 0, - MS_ChemicalIonization = 1, - MS_FastAtomBombardment = 2, - MS_Electrospray = 3, - MS_AtmosphericPressureChemicalIonization = 4, - MS_Nanospray = 5, - MS_Thermospray = 6, - MS_FieldDesorption = 7, - MS_MatrixAssistedLaserDesorptionIonization = 8, - MS_GlowDischarge = 9, - MS_AcceptAnyIonizationMode = 10 -}; - -enum MS_Corona -{ - MS_CoronaOn = 0, - MS_CoronaOff = 1, - MS_AcceptAnyCorona = 2 -}; - -enum MS_Detector -{ - MS_DetectorValid = 0, - MS_AcceptAnyDetector = 1 -}; - -enum MS_PrecursorEnergy -{ - MS_PrecursorEnergyValid = 0, - MS_AcceptAnyPrecursorEnergy = 1 -}; - -#pragma pack(push, 8) - -struct MS_MassRange -{ - double dLowMass; - double dHighMass; -}; - -#pragma pack(pop) - -#pragma pack(push, 8) - -struct MS_ScanEvent -{ - long bIsValid; - enum MS_ScanData eScanData; - enum MS_Polarity ePolarity; - enum MS_MSOrder eMSOrder; - enum MS_Dep eDependent; - enum MS_Wideband eWideband; - long bCustom; - enum MS_SourceCID eSourceCID; - enum MS_ScanType eScanType; - enum MS_TurboScan eTurboScan; - enum MS_IonizationMode eIonizationMode; - enum MS_Corona eCorona; - enum MS_Detector eDetector; - double dDetectorValue; - enum MS_SourceCIDType eSourceCIDType; - long nlScanTypeIndex; - long nNumMassRanges; - struct MS_MassRange arrMassRanges[50]; - long nNumPrecursorMasses; - double arrPrecursorMasses[10]; - double arrPrecursorEnergies[10]; - long arrPrecursorEnergiesValid[10]; - long nNumSourceFragmentationEnergies; - double arrSourceFragmentationEnergies[50]; - long arrSourceFragmentationEnergiesValid[50]; -}; - -#pragma pack(pop) - -#pragma pack(push, 8) - -struct MS_ScanIndex -{ - unsigned long m_ulDataOffset; - long m_nlTrailerOffset; - long m_nlScanTypeIndex; - int m_nScanNumber; - int m_nPacketType; - int m_nNumberPackets; - double m_dStartTime; - double m_dTIC; - double m_dBasePeakIntensity; - double m_dBasePeakMass; - double m_dLowMass; - double m_dHighMass; -}; - -#pragma pack(pop) - -#pragma pack(push, 8) - -struct MS_UVScanIndex -{ - int nPacketType; - int nNumberOfChannels; - double dStartTime; - double dTIC; -}; - -#pragma pack(pop) - -#pragma pack(push, 8) - -struct MS_DataPeak -{ - double intensity; - double position; - float basepeak; - long scan; -}; - -#pragma pack(pop) - -#pragma pack(push, 8) - -struct MS_PrecursorInfo -{ - double dMonoIsoMZ; - double dIsolationMZ; - long nChargeState; - long nScanNumber; -}; - -#pragma pack(pop) - -struct __declspec(uuid("5fe970b1-29c3-11d3-811d-00104b304896")) -IXRawfile : IDispatch -{ - // - // Wrapper methods for error-handling - // - - HRESULT Open ( - _bstr_t szFileName ); - HRESULT Close ( ); - HRESULT GetFileName ( - BSTR * pbstrFileName ); - HRESULT GetCreatorID ( - BSTR * pbstrCreatorID ); - HRESULT GetVersionNumber ( - long * pnVersion ); - HRESULT GetCreationDate ( - DATE * pCreationDate ); - HRESULT IsError ( - long * pbIsError ); - HRESULT IsNewFile ( - long * pbIsNewFile ); - HRESULT GetErrorCode ( - long * pnErrorCode ); - HRESULT GetErrorMessage ( - BSTR * pbstrErrorMessage ); - HRESULT GetWarningMessage ( - BSTR * pbstrWarningMessage ); - HRESULT GetSeqRowNumber ( - long * pnSeqRowNumber ); - HRESULT GetSeqRowSampleType ( - long * pnSampleType ); - HRESULT GetSeqRowDataPath ( - BSTR * pbstrDataPath ); - HRESULT GetSeqRowRawFileName ( - BSTR * pbstrRawFileName ); - HRESULT GetSeqRowSampleName ( - BSTR * pbstrSampleName ); - HRESULT GetSeqRowSampleID ( - BSTR * pbstrSampleID ); - HRESULT GetSeqRowComment ( - BSTR * pbstrComment ); - HRESULT GetSeqRowLevelName ( - BSTR * pbstrLevelName ); - HRESULT GetSeqRowUserText ( - long nIndex, - BSTR * pbstrUserText ); - HRESULT GetSeqRowInstrumentMethod ( - BSTR * pbstrInstrumentMethod ); - HRESULT GetSeqRowProcessingMethod ( - BSTR * pbstrProcessingMethod ); - HRESULT GetSeqRowCalibrationFile ( - BSTR * pbstrCalibrationFile ); - HRESULT GetSeqRowVial ( - BSTR * pbstrVial ); - HRESULT GetSeqRowInjectionVolume ( - double * pdInjVol ); - HRESULT GetSeqRowSampleWeight ( - double * pdSampleWt ); - HRESULT GetSeqRowSampleVolume ( - double * pdSampleVolume ); - HRESULT GetSeqRowISTDAmount ( - double * pdISTDAmount ); - HRESULT GetSeqRowDilutionFactor ( - double * pdDilutionFactor ); - HRESULT GetSeqRowUserLabel ( - long nIndex, - BSTR * pbstrUserLabel ); - HRESULT InAcquisition ( - long * pbInAcquisition ); - HRESULT GetNumberOfControllers ( - long * pnNumControllers ); - HRESULT GetControllerType ( - long nIndex, - long * pnControllerType ); - HRESULT SetCurrentController ( - long nControllerType, - long nControllerNumber ); - HRESULT GetCurrentController ( - long * pnControllerType, - long * pnControllerNumber ); - HRESULT GetNumSpectra ( - long * pnNumberOfSpectra ); - HRESULT GetNumStatusLog ( - long * pnNumberOfStatusLogEntries ); - HRESULT GetNumErrorLog ( - long * pnNumberOfErrorLogEntries ); - HRESULT GetNumTuneData ( - long * pnNumTuneData ); - HRESULT GetMassResolution ( - double * pdMassResolution ); - HRESULT GetExpectedRunTime ( - double * pdExpectedRunTime ); - HRESULT GetNumTrailerExtra ( - long * pnNumberOfTrailerExtraEntries ); - HRESULT GetLowMass ( - double * pdLowMass ); - HRESULT GetHighMass ( - double * pdHighMass ); - HRESULT GetStartTime ( - double * pdStartTime ); - HRESULT GetEndTime ( - double * pdEndTime ); - HRESULT GetMaxIntegratedIntensity ( - double * pdMaxIntegIntensity ); - HRESULT GetMaxIntensity ( - long * pnMaxIntensity ); - HRESULT GetFirstSpectrumNumber ( - long * pnFirstSpectrum ); - HRESULT GetLastSpectrumNumber ( - long * pnLastSpectrum ); - HRESULT GetInstrumentID ( - long * pnInstrumentID ); - HRESULT GetInletID ( - long * pnInletID ); - HRESULT GetErrorFlag ( - long * pnErrorFlag ); - HRESULT GetSampleVolume ( - double * pdSampleVolume ); - HRESULT GetSampleWeight ( - double * pdSampleWeight ); - HRESULT GetVialNumber ( - long * pnVialNumber ); - HRESULT GetInjectionVolume ( - double * pdInjectionVolume ); - HRESULT GetFlags ( - BSTR * pbstrFlags ); - HRESULT GetAcquisitionFileName ( - BSTR * pbstrFileName ); - HRESULT GetInstrumentDescription ( - BSTR * pbstrInstrumentDescription ); - HRESULT GetAcquisitionDate ( - BSTR * pbstrAcquisitionDate ); - HRESULT GetOperator ( - BSTR * pbstrOperator ); - HRESULT GetComment1 ( - BSTR * pbstrComment1 ); - HRESULT GetComment2 ( - BSTR * pbstrComment2 ); - HRESULT GetSampleAmountUnits ( - BSTR * pbstrSampleAmountUnits ); - HRESULT GetInjectionAmountUnits ( - BSTR * pbstrInjectionAmountUnits ); - HRESULT GetSampleVolumeUnits ( - BSTR * pbstrSampleVolumeUnits ); - HRESULT GetFilters ( - VARIANT * pvarFilterArray, - long * pnArraySize ); - HRESULT ScanNumFromRT ( - double dRT, - long * pnScanNumber ); - HRESULT RTFromScanNum ( - long nScanNumber, - double * pdRT ); - HRESULT GetFilterForScanNum ( - long nScanNumber, - BSTR * pbstrFilter ); - HRESULT GetFilterForScanRT ( - double dRT, - BSTR * pbstrFilter ); - HRESULT GetMassListFromScanNum ( - long * pnScanNumber, - _bstr_t bstrFilter, - long nIntensityCutoffType, - long nInte... [truncated message content] |