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.
280 lines
8.6 KiB
Plaintext
280 lines
8.6 KiB
Plaintext
// Created by Microsoft (R) C/C++ Compiler Version 14.00.24215.1 (b9bf4b80).
|
|
//
|
|
// e:\third\laser\debug\marking_scan.tlh
|
|
//
|
|
// C++ source equivalent of Win32 type library marking_scan.dll
|
|
// compiler-generated file created 04/13/26 at 14:01:49 - DO NOT EDIT!
|
|
|
|
#pragma once
|
|
#pragma pack(push, 8)
|
|
|
|
#include <comdef.h>
|
|
|
|
namespace marking_scan {
|
|
|
|
//
|
|
// Forward references and typedefs
|
|
//
|
|
|
|
struct __declspec(uuid("ebb2b19f-e1a8-4020-bc97-746f2608a466"))
|
|
/* LIBID */ __marking_scan;
|
|
struct __declspec(uuid("cbb11b5a-88ce-40bc-a6df-536c26764f7f"))
|
|
/* dual interface */ _marking_scan_dll;
|
|
struct /* coclass */ marking_scan_dll;
|
|
struct __declspec(uuid("9d367df7-6f03-455b-84d5-f8b59a71e8dc"))
|
|
/* dual interface */ _cClean_Temp;
|
|
struct /* coclass */ cClean_Temp;
|
|
|
|
//
|
|
// Smart pointer typedef declarations
|
|
//
|
|
|
|
_COM_SMARTPTR_TYPEDEF(_marking_scan_dll, __uuidof(_marking_scan_dll));
|
|
_COM_SMARTPTR_TYPEDEF(_cClean_Temp, __uuidof(_cClean_Temp));
|
|
|
|
//
|
|
// Type library items
|
|
//
|
|
|
|
struct __declspec(uuid("cbb11b5a-88ce-40bc-a6df-536c26764f7f"))
|
|
_marking_scan_dll : IDispatch
|
|
{
|
|
//
|
|
// Property data
|
|
//
|
|
|
|
__declspec(property(get=GetName,put=PutName))
|
|
_bstr_t Name;
|
|
__declspec(property(get=GetFile_no_begin,put=PutFile_no_begin))
|
|
long File_no_begin;
|
|
__declspec(property(get=GetDebugID))
|
|
long DebugID;
|
|
|
|
//
|
|
// Wrapper methods for error-handling
|
|
//
|
|
|
|
_bstr_t GetName ( );
|
|
void PutName (
|
|
_bstr_t Name );
|
|
long GetFile_no_begin ( );
|
|
void PutFile_no_begin (
|
|
long File_no_begin );
|
|
VARIANT_BOOL ClientSetLsrText (
|
|
BSTR * p );
|
|
VARIANT_BOOL ProcessLsrFile (
|
|
BSTR * p );
|
|
VARIANT_BOOL ClientSetSaveFilePath (
|
|
BSTR * p );
|
|
VARIANT_BOOL ClientSetOpenFilePath (
|
|
BSTR * p );
|
|
long GetDebugID ( );
|
|
VARIANT_BOOL e_isMarking ( );
|
|
short e_PrintEarMark (
|
|
SAFEARRAY * * imageData,
|
|
SAFEARRAY * * strNumber1,
|
|
SAFEARRAY * * strNumber2,
|
|
SAFEARRAY * * arr_Size );
|
|
short e_Initlize ( );
|
|
short e_Relese ( );
|
|
_variant_t e_setPrintInfo (
|
|
BSTR * strTempletFileName );
|
|
short Marking_DA (
|
|
double * V,
|
|
short * p );
|
|
short usb_laser_open (
|
|
float * LaserPower,
|
|
float * laserfre,
|
|
short * on_off );
|
|
short Marking_init_pci (
|
|
short * out_data0,
|
|
short * out_data1,
|
|
short * card,
|
|
short * LaserType,
|
|
short * lnghead,
|
|
SAFEARRAY * * rs_n,
|
|
short * laser_sw );
|
|
short Marking_position (
|
|
SAFEARRAY * * md );
|
|
short Marking_data (
|
|
SAFEARRAY * * md,
|
|
long FirstPulseDelay );
|
|
long Marking_Points (
|
|
SAFEARRAY * * md,
|
|
long HoldTime,
|
|
long FirstPulseDelay );
|
|
short Marking_end (
|
|
long * fileno,
|
|
long * fileAll,
|
|
long * MarkM,
|
|
long * m_sel,
|
|
long * m_head,
|
|
SAFEARRAY * * md );
|
|
short Marking_run ( );
|
|
short Marking_stop ( );
|
|
short 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 );
|
|
VARIANT_BOOL Send_cal_data (
|
|
long * lnghead );
|
|
short marking_start ( );
|
|
short port_Out_bit (
|
|
short * intBit,
|
|
short * intV );
|
|
short port_In_Bit (
|
|
short * intBit );
|
|
|
|
//
|
|
// Raw methods provided by interface
|
|
//
|
|
|
|
virtual HRESULT __stdcall get_Name (
|
|
/*[out,retval]*/ BSTR * Name ) = 0;
|
|
virtual HRESULT __stdcall put_Name (
|
|
/*[in]*/ BSTR Name ) = 0;
|
|
virtual HRESULT __stdcall get_File_no_begin (
|
|
/*[out,retval]*/ long * File_no_begin ) = 0;
|
|
virtual HRESULT __stdcall put_File_no_begin (
|
|
/*[in]*/ long File_no_begin ) = 0;
|
|
virtual HRESULT __stdcall raw_ClientSetLsrText (
|
|
/*[in,out]*/ BSTR * p,
|
|
/*[out,retval]*/ VARIANT_BOOL * _arg2 ) = 0;
|
|
virtual HRESULT __stdcall raw_ProcessLsrFile (
|
|
/*[in,out]*/ BSTR * p,
|
|
/*[out,retval]*/ VARIANT_BOOL * _arg2 ) = 0;
|
|
virtual HRESULT __stdcall raw_ClientSetSaveFilePath (
|
|
/*[in,out]*/ BSTR * p,
|
|
/*[out,retval]*/ VARIANT_BOOL * _arg2 ) = 0;
|
|
virtual HRESULT __stdcall raw_ClientSetOpenFilePath (
|
|
/*[in,out]*/ BSTR * p,
|
|
/*[out,retval]*/ VARIANT_BOOL * _arg2 ) = 0;
|
|
virtual HRESULT __stdcall get_DebugID (
|
|
/*[out,retval]*/ long * _arg1 ) = 0;
|
|
virtual HRESULT __stdcall raw_e_isMarking (
|
|
/*[out,retval]*/ VARIANT_BOOL * _arg1 ) = 0;
|
|
virtual HRESULT __stdcall raw_e_PrintEarMark (
|
|
/*[in,out]*/ SAFEARRAY * * imageData,
|
|
/*[in,out]*/ SAFEARRAY * * strNumber1,
|
|
/*[in,out]*/ SAFEARRAY * * strNumber2,
|
|
/*[in,out]*/ SAFEARRAY * * arr_Size,
|
|
/*[out,retval]*/ short * _arg5 ) = 0;
|
|
virtual HRESULT __stdcall raw_e_Initlize (
|
|
/*[out,retval]*/ short * _arg1 ) = 0;
|
|
virtual HRESULT __stdcall raw_e_Relese (
|
|
/*[out,retval]*/ short * _arg1 ) = 0;
|
|
virtual HRESULT __stdcall raw_e_setPrintInfo (
|
|
/*[in,out]*/ BSTR * strTempletFileName,
|
|
/*[out,retval]*/ VARIANT * _arg2 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_DA (
|
|
/*[in,out]*/ double * V,
|
|
/*[in,out]*/ short * p,
|
|
/*[out,retval]*/ short * _arg3 ) = 0;
|
|
virtual HRESULT __stdcall raw_usb_laser_open (
|
|
/*[in,out]*/ float * LaserPower,
|
|
/*[in,out]*/ float * laserfre,
|
|
/*[in,out]*/ short * on_off,
|
|
/*[out,retval]*/ short * _arg4 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_init_pci (
|
|
/*[in,out]*/ short * out_data0,
|
|
/*[in,out]*/ short * out_data1,
|
|
/*[in,out]*/ short * card,
|
|
/*[in,out]*/ short * LaserType,
|
|
/*[in,out]*/ short * lnghead,
|
|
/*[in,out]*/ SAFEARRAY * * rs_n,
|
|
/*[in,out]*/ short * laser_sw,
|
|
/*[out,retval]*/ short * _arg8 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_position (
|
|
/*[in,out]*/ SAFEARRAY * * md,
|
|
/*[out,retval]*/ short * _arg2 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_data (
|
|
/*[in,out]*/ SAFEARRAY * * md,
|
|
/*[in]*/ long FirstPulseDelay,
|
|
/*[out,retval]*/ short * _arg3 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_Points (
|
|
/*[in,out]*/ SAFEARRAY * * md,
|
|
/*[in]*/ long HoldTime,
|
|
/*[in]*/ long FirstPulseDelay,
|
|
/*[out,retval]*/ long * _arg4 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_end (
|
|
/*[in,out]*/ long * fileno,
|
|
/*[in,out]*/ long * fileAll,
|
|
/*[in,out]*/ long * MarkM,
|
|
/*[in,out]*/ long * m_sel,
|
|
/*[in,out]*/ long * m_head,
|
|
/*[in,out]*/ SAFEARRAY * * md,
|
|
/*[out,retval]*/ short * _arg7 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_run (
|
|
/*[out,retval]*/ short * _arg1 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_stop (
|
|
/*[out,retval]*/ short * _arg1 ) = 0;
|
|
virtual HRESULT __stdcall raw_Marking_para (
|
|
/*[in,out]*/ float * ms,
|
|
/*[in,out]*/ float * mms,
|
|
/*[in,out]*/ long * tcf,
|
|
/*[in,out]*/ long * tch,
|
|
/*[in,out]*/ long * tof,
|
|
/*[in,out]*/ long * toh,
|
|
/*[in,out]*/ double * su,
|
|
/*[in,out]*/ float * LaserPower,
|
|
/*[in,out]*/ float * laserfre,
|
|
/*[in,out]*/ float * lasermaxpower,
|
|
/*[in,out]*/ long * dr_time,
|
|
/*[out,retval]*/ short * _arg12 ) = 0;
|
|
virtual HRESULT __stdcall raw_Send_cal_data (
|
|
/*[in,out]*/ long * lnghead,
|
|
/*[out,retval]*/ VARIANT_BOOL * _arg2 ) = 0;
|
|
virtual HRESULT __stdcall raw_marking_start (
|
|
/*[out,retval]*/ short * _arg1 ) = 0;
|
|
virtual HRESULT __stdcall raw_port_Out_bit (
|
|
/*[in,out]*/ short * intBit,
|
|
/*[in,out]*/ short * intV,
|
|
/*[out,retval]*/ short * _arg3 ) = 0;
|
|
virtual HRESULT __stdcall raw_port_In_Bit (
|
|
/*[in,out]*/ short * intBit,
|
|
/*[out,retval]*/ short * _arg2 ) = 0;
|
|
};
|
|
|
|
struct __declspec(uuid("eff64f2e-e1f5-4df9-80e3-7e07ddb93f76"))
|
|
marking_scan_dll;
|
|
// [ default ] interface _marking_scan_dll
|
|
|
|
struct __declspec(uuid("9d367df7-6f03-455b-84d5-f8b59a71e8dc"))
|
|
_cClean_Temp : IDispatch
|
|
{
|
|
//
|
|
// Wrapper methods for error-handling
|
|
//
|
|
|
|
long CleanTemplate ( );
|
|
|
|
//
|
|
// Raw methods provided by interface
|
|
//
|
|
|
|
virtual HRESULT __stdcall raw_CleanTemplate (
|
|
/*[out,retval]*/ long * _arg1 ) = 0;
|
|
};
|
|
|
|
struct __declspec(uuid("2b3e0745-99d6-44c3-b685-087038118574"))
|
|
cClean_Temp;
|
|
// [ default ] interface _cClean_Temp
|
|
|
|
//
|
|
// Wrapper method implementations
|
|
//
|
|
|
|
#include "e:\third\laser\debug\marking_scan.tli"
|
|
|
|
} // namespace marking_scan
|
|
|
|
#pragma pack(pop)
|