You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
217 lines
7.6 KiB
Plaintext
217 lines
7.6 KiB
Plaintext
|
7 hours ago
|
// Created by Microsoft (R) C/C++ Compiler Version 14.00.24215.1 (b9bf4b80).
|
||
|
|
//
|
||
|
|
// e:\third\laser\debug\marking_scan.tli
|
||
|
|
//
|
||
|
|
// Wrapper implementations for Win32 type library marking_scan.dll
|
||
|
|
// compiler-generated file created 04/13/26 at 14:01:49 - DO NOT EDIT!
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
//
|
||
|
|
// interface _marking_scan_dll wrapper method implementations
|
||
|
|
//
|
||
|
|
|
||
|
|
inline _bstr_t _marking_scan_dll::GetName ( ) {
|
||
|
|
BSTR _result = 0;
|
||
|
|
HRESULT _hr = get_Name(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _bstr_t(_result, false);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline void _marking_scan_dll::PutName ( _bstr_t Name ) {
|
||
|
|
HRESULT _hr = put_Name(Name);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
}
|
||
|
|
|
||
|
|
inline long _marking_scan_dll::GetFile_no_begin ( ) {
|
||
|
|
long _result = 0;
|
||
|
|
HRESULT _hr = get_File_no_begin(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline void _marking_scan_dll::PutFile_no_begin ( long File_no_begin ) {
|
||
|
|
HRESULT _hr = put_File_no_begin(File_no_begin);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
}
|
||
|
|
|
||
|
|
inline VARIANT_BOOL _marking_scan_dll::ClientSetLsrText ( BSTR * p ) {
|
||
|
|
VARIANT_BOOL _result = 0;
|
||
|
|
HRESULT _hr = raw_ClientSetLsrText(p, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline VARIANT_BOOL _marking_scan_dll::ProcessLsrFile ( BSTR * p ) {
|
||
|
|
VARIANT_BOOL _result = 0;
|
||
|
|
HRESULT _hr = raw_ProcessLsrFile(p, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline VARIANT_BOOL _marking_scan_dll::ClientSetSaveFilePath ( BSTR * p ) {
|
||
|
|
VARIANT_BOOL _result = 0;
|
||
|
|
HRESULT _hr = raw_ClientSetSaveFilePath(p, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline VARIANT_BOOL _marking_scan_dll::ClientSetOpenFilePath ( BSTR * p ) {
|
||
|
|
VARIANT_BOOL _result = 0;
|
||
|
|
HRESULT _hr = raw_ClientSetOpenFilePath(p, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline long _marking_scan_dll::GetDebugID ( ) {
|
||
|
|
long _result = 0;
|
||
|
|
HRESULT _hr = get_DebugID(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline VARIANT_BOOL _marking_scan_dll::e_isMarking ( ) {
|
||
|
|
VARIANT_BOOL _result = 0;
|
||
|
|
HRESULT _hr = raw_e_isMarking(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::e_PrintEarMark ( SAFEARRAY * * imageData, SAFEARRAY * * strNumber1, SAFEARRAY * * strNumber2, SAFEARRAY * * arr_Size ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_e_PrintEarMark(imageData, strNumber1, strNumber2, arr_Size, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::e_Initlize ( ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_e_Initlize(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::e_Relese ( ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_e_Relese(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline _variant_t _marking_scan_dll::e_setPrintInfo ( BSTR * strTempletFileName ) {
|
||
|
|
VARIANT _result;
|
||
|
|
VariantInit(&_result);
|
||
|
|
HRESULT _hr = raw_e_setPrintInfo(strTempletFileName, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _variant_t(_result, false);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::Marking_DA ( double * V, short * p ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_DA(V, p, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::usb_laser_open ( float * LaserPower, float * laserfre, short * on_off ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_usb_laser_open(LaserPower, laserfre, on_off, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::Marking_init_pci ( short * out_data0, short * out_data1, short * card, short * LaserType, short * lnghead, SAFEARRAY * * rs_n, short * laser_sw ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_init_pci(out_data0, out_data1, card, LaserType, lnghead, rs_n, laser_sw, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::Marking_position ( SAFEARRAY * * md ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_position(md, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::Marking_data ( SAFEARRAY * * md, long FirstPulseDelay ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_data(md, FirstPulseDelay, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline long _marking_scan_dll::Marking_Points ( SAFEARRAY * * md, long HoldTime, long FirstPulseDelay ) {
|
||
|
|
long _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_Points(md, HoldTime, FirstPulseDelay, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::Marking_end ( long * fileno, long * fileAll, long * MarkM, long * m_sel, long * m_head, SAFEARRAY * * md ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_end(fileno, fileAll, MarkM, m_sel, m_head, md, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::Marking_run ( ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_run(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::Marking_stop ( ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_stop(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::Marking_para ( float * ms, float * mms, long * tcf, long * tch, long * tof, long * toh, double * su, float * LaserPower, float * laserfre, float * lasermaxpower, long * dr_time ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_Marking_para(ms, mms, tcf, tch, tof, toh, su, LaserPower, laserfre, lasermaxpower, dr_time, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline VARIANT_BOOL _marking_scan_dll::Send_cal_data ( long * lnghead ) {
|
||
|
|
VARIANT_BOOL _result = 0;
|
||
|
|
HRESULT _hr = raw_Send_cal_data(lnghead, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::marking_start ( ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_marking_start(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::port_Out_bit ( short * intBit, short * intV ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_port_Out_bit(intBit, intV, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline short _marking_scan_dll::port_In_Bit ( short * intBit ) {
|
||
|
|
short _result = 0;
|
||
|
|
HRESULT _hr = raw_port_In_Bit(intBit, &_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|
||
|
|
|
||
|
|
//
|
||
|
|
// interface _cClean_Temp wrapper method implementations
|
||
|
|
//
|
||
|
|
|
||
|
|
inline long _cClean_Temp::CleanTemplate ( ) {
|
||
|
|
long _result = 0;
|
||
|
|
HRESULT _hr = raw_CleanTemplate(&_result);
|
||
|
|
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
|
||
|
|
return _result;
|
||
|
|
}
|