MyControl.idl
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // MyControl.idl : IDL source for MyControl.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (MyControl.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- #include "olectl.h"
- [
- object,
- uuid(A87F950A-9BDC-41BF-8E0C-BCD35ACED36C),
- dual,
- helpstring("IMyPassword Interface"),
- pointer_default(unique)
- ]
- interface IMyPassword : IDispatch
- {
- };
- [
- uuid(A68826A9-F26E-4A0A-9849-4BA298395305),
- version(1.0),
- helpstring("MyControl 1.0 Type Library")
- ]
- library MYCONTROLLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- [
- uuid(66BD8E97-FFE2-466A-B4F7-2E6E1A50F8EE),
- helpstring("_IMyPasswordEvents Interface")
- ]
- dispinterface _IMyPasswordEvents
- {
- properties:
- methods:
- [id(1),helpstring("hello")] HRESULT show([in] BSTR msg);
- };
- [
- uuid(5767BB37-47C2-4E2A-A457-66AC49EDFF12),
- helpstring("MyPassword Class")
- ]
- coclass MyPassword
- {
- [default] interface IMyPassword;
- [default, source] dispinterface _IMyPasswordEvents;
- };
- };