📄 activxofdes_tlb.~h
字号:
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// C++ TLBWRTR : $Revision: 1.151.1.0.1.27 $
// File generated on 2006-11-16 19:17:19 from Type Library described below.
// ************************************************************************ //
// Type Lib: E:\myproject\borland\Projects\ActivXOfDes\ActivXOfDes.tlb (1)
// LIBID: {42207AAA-620B-4163-B501-BCA36661859D}
// LCID: 0
// Helpfile:
// HelpString: ActivXOfDes Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
// ************************************************************************ //
#ifndef ActivXOfDes_TLBH
#define ActivXOfDes_TLBH
#pragma option push -b -w-inl
#include <utilcls.h>
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0600)
//
// The code generated by the TLIBIMP utility or the Import|TypeLibrary
// and Import|ActiveX feature of C++Builder rely on specific versions of
// the header file UTILCLS.H found in the INCLUDE\VCL directory. If an
// older version of the file is detected, you probably need an update/patch.
//
#error "This file requires a newer version of the header UTILCLS.H" \
"You need to apply an update/patch to your copy of C++Builder"
#endif
#include <olectl.h>
#include <ocidl.h>
#if defined(USING_ATLVCL) || defined(USING_ATL)
#if !defined(__TLB_NO_EVENT_WRAPPERS)
#include <atl/atlmod.h>
#endif
#endif
// *********************************************************************//
// Forward reference of some VCL types (to avoid including STDVCL.HPP)
// *********************************************************************//
namespace Stdvcl {class IStrings; class IStringsDisp;}
using namespace Stdvcl;
typedef TComInterface<IStrings> IStringsPtr;
typedef TComInterface<IStringsDisp> IStringsDispPtr;
namespace Activxofdes_tlb
{
// *********************************************************************//
// HelpString: ActivXOfDes Library
// Version: 1.0
// *********************************************************************//
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLSID_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
extern "C" const __declspec(selectany) GUID LIBID_ActivXOfDes = {0x42207AAA, 0x620B, 0x4163,{ 0xB5, 0x01, 0xBC,0xA3, 0x66, 0x61,0x85, 0x9D} };
extern "C" const __declspec(selectany) GUID IID_IComActivxOfDes = {0x5CFEEFCD, 0xAA77, 0x4867,{ 0x8C, 0x0D, 0x5D,0x6B, 0x13, 0xBB,0x78, 0x4C} };
extern "C" const __declspec(selectany) GUID CLSID_ComActivxOfDes = {0xB1DC5036, 0x629F, 0x4F7E,{ 0xBF, 0x24, 0x03,0x8F, 0x8C, 0xA2,0x13, 0xA3} };
extern "C" const __declspec(selectany) GUID IID_IDesForAsp = {0x830C8916, 0xE96B, 0x43FD,{ 0xA5, 0xCD, 0xD4,0xBE, 0x7C, 0xD3,0xF5, 0x9B} };
extern "C" const __declspec(selectany) GUID CLSID_DesForAsp = {0xB400BC9D, 0x2D57, 0x4A37,{ 0x92, 0xA1, 0x63,0xFA, 0x20, 0xBA,0x2D, 0x6C} };
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
interface DECLSPEC_UUID("{5CFEEFCD-AA77-4867-8C0D-5D6B13BB784C}") IComActivxOfDes;
typedef TComInterface<IComActivxOfDes, &IID_IComActivxOfDes> IComActivxOfDesPtr;
interface DECLSPEC_UUID("{830C8916-E96B-43FD-A5CD-D4BE7CD3F59B}") IDesForAsp;
typedef TComInterface<IDesForAsp, &IID_IDesForAsp> IDesForAspPtr;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
//
// The LIBID_OF_ macro(s) map a LIBID_OF_CoClassName to the GUID of this
// TypeLibrary. It simplifies the updating of macros when CoClass name
// change.
// *********************************************************************//
typedef IComActivxOfDes ComActivxOfDes;
typedef IComActivxOfDesPtr ComActivxOfDesPtr;
typedef IDesForAsp DesForAsp;
typedef IDesForAspPtr DesForAspPtr;
#define LIBID_OF_ComActivxOfDes (&LIBID_ActivXOfDes)
#define LIBID_OF_DesForAsp (&LIBID_ActivXOfDes)
// *********************************************************************//
// Interface: IComActivxOfDes
// Flags: (256) OleAutomation
// GUID: {5CFEEFCD-AA77-4867-8C0D-5D6B13BB784C}
// *********************************************************************//
interface IComActivxOfDes : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE AspDes(BSTR InData/*[in]*/, BSTR EncryKey/*[in]*/,
BSTR* OutData/*[out,retval]*/) = 0; // [1]
};
// *********************************************************************//
// Interface: IDesForAsp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {830C8916-E96B-43FD-A5CD-D4BE7CD3F59B}
// *********************************************************************//
interface IDesForAsp : public IDispatch
{
public:
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
// *********************************************************************//
// SmartIntf: TCOMIComActivxOfDes
// Interface: IComActivxOfDes
// *********************************************************************//
template <class T /* IComActivxOfDes */ >
class TCOMIComActivxOfDesT : public TComInterface<IComActivxOfDes>, public TComInterfaceBase<IUnknown>
{
public:
TCOMIComActivxOfDesT() {}
TCOMIComActivxOfDesT(IComActivxOfDes *intf, bool addRef = false) : TComInterface<IComActivxOfDes>(intf, addRef) {}
TCOMIComActivxOfDesT(const TCOMIComActivxOfDesT& src) : TComInterface<IComActivxOfDes>(src) {}
TCOMIComActivxOfDesT& operator=(const TCOMIComActivxOfDesT& src) { Bind(src, true); return *this;}
HRESULT __fastcall AspDes(BSTR InData/*[in]*/, BSTR EncryKey/*[in]*/,
BSTR* OutData/*[out,retval]*/);
BSTR __fastcall AspDes(BSTR InData/*[in]*/, BSTR EncryKey/*[in]*/);
};
typedef TCOMIComActivxOfDesT<IComActivxOfDes> TCOMIComActivxOfDes;
// *********************************************************************//
// SmartIntf: TCOMIDesForAsp
// Interface: IDesForAsp
// *********************************************************************//
template <class T /* IDesForAsp */ >
class TCOMIDesForAspT : public TComInterface<IDesForAsp>, public TComInterfaceBase<IUnknown>
{
public:
TCOMIDesForAspT() {}
TCOMIDesForAspT(IDesForAsp *intf, bool addRef = false) : TComInterface<IDesForAsp>(intf, addRef) {}
TCOMIDesForAspT(const TCOMIDesForAspT& src) : TComInterface<IDesForAsp>(src) {}
TCOMIDesForAspT& operator=(const TCOMIDesForAspT& src) { Bind(src, true); return *this;}
};
typedef TCOMIDesForAspT<IDesForAsp> TCOMIDesForAsp;
// *********************************************************************//
// DispIntf: IDesForAsp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {830C8916-E96B-43FD-A5CD-D4BE7CD3F59B}
// *********************************************************************//
template<class T>
class IDesForAspDispT : public TAutoDriver<IDesForAsp>
{
public:
IDesForAspDispT(){}
IDesForAspDispT(IDesForAsp *pintf)
{
TAutoDriver<IDesForAsp>::Bind(pintf, false);
}
IDesForAspDispT(IDesForAspPtr pintf)
{
TAutoDriver<IDesForAsp>::Bind(pintf, true);
}
IDesForAspDispT& operator=(IDesForAsp *pintf)
{
TAutoDriver<IDesForAsp>::Bind(pintf, false);
return *this;
}
IDesForAspDispT& operator=(IDesForAspPtr pintf)
{
TAutoDriver<IDesForAsp>::Bind(pintf, true);
return *this;
}
HRESULT BindDefault()
{
return OLECHECK(Bind(CLSID_DesForAsp));
}
HRESULT BindRunning()
{
return BindToActive(CLSID_DesForAsp);
}
};
typedef IDesForAspDispT<IDesForAsp> IDesForAspDisp;
// *********************************************************************//
// SmartIntf: TCOMIComActivxOfDes
// Interface: IComActivxOfDes
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOMIComActivxOfDesT<T>::AspDes(BSTR InData/*[in]*/, BSTR EncryKey/*[in]*/,
BSTR* OutData/*[out,retval]*/)
{
return (*this)->AspDes(InData, EncryKey, OutData);
}
template <class T> BSTR __fastcall
TCOMIComActivxOfDesT<T>::AspDes(BSTR InData/*[in]*/, BSTR EncryKey/*[in]*/)
{
BSTR OutData = 0;
OLECHECK(this->AspDes(, (BSTR*)&OutData));
return OutData;
}
// *********************************************************************//
// SmartIntf: TCOMIDesForAsp
// Interface: IDesForAsp
// *********************************************************************//
// *********************************************************************//
// DispIntf: IDesForAsp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {830C8916-E96B-43FD-A5CD-D4BE7CD3F59B}
// *********************************************************************//
// *********************************************************************//
// The following typedefs expose classes (named CoCoClassName) that
// provide static Create() and CreateRemote(LPWSTR machineName) methods
// for creating an instance of an exposed object. These functions can
// be used by client wishing to automate CoClasses exposed by this
// typelibrary.
// *********************************************************************//
// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass : DesForAsp
// Interface: TCOMIDesForAsp
// *********************************************************************//
typedef TCoClassCreatorT<TCOMIDesForAsp, IDesForAsp, &CLSID_DesForAsp, &IID_IDesForAsp> CoDesForAsp;
#endif // __TLB_NO_INTERFACE_WRAPPERS
}; // namespace Activxofdes_tlb
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Activxofdes_tlb;
#endif
#pragma option pop
#endif // ActivXOfDes_TLBH
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -