DemoBstr.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // DemoBstr.idl : IDL source for DemoBstr.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (DemoBstr.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(91291360-85F9-4F49-9CD9-90D4701B7B62),
- dual,
- helpstring("IMyBstr Interface"),
- pointer_default(unique)
- ]
- interface IMyBstr : IDispatch
- {
- [id(1), helpstring("method Authen")] HRESULT Authen([in] BSTR name, [in] BSTR pwd, [out] BSTR* Result);
- };
- [
- uuid(7F02A772-00F4-4E58-8F8F-6505DAAED6F8),
- version(1.0),
- helpstring("DemoBstr 1.0 Type Library")
- ]
- library DEMOBSTRLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(036E0C49-A275-4C57-B985-93F4E329F5CA),
- helpstring("MyBstr Class")
- ]
- coclass MyBstr
- {
- [default] interface IMyBstr;
- };
- };