74 lines
2.4 KiB
Plaintext
74 lines
2.4 KiB
Plaintext
// GenSelectionEvents.odl : type library source for ActiveX Control project.
|
|
|
|
// This file will be processed by the Make Type Library (mktyplib) tool to
|
|
// produce the type library (GenSelectionEvents.tlb) that will become a resource in
|
|
// GenSelectionEvents.ocx.
|
|
|
|
#include <olectl.h>
|
|
#include <idispids.h>
|
|
|
|
[ uuid(DA0C17F6-088A-11D2-9697-00C04FD9B15B), version(1.0),
|
|
helpfile("GenSelectionEvents.hlp"),
|
|
helpstring("GenSelectionEvents ActiveX Control module"),
|
|
control ]
|
|
library GENSELECTIONEVENTSLib
|
|
{
|
|
importlib(STDOLE_TLB);
|
|
importlib(STDTYPE_TLB);
|
|
|
|
// Primary dispatch interface for CGenSelectionEventsCtrl
|
|
|
|
[ uuid(DA0C17F7-088A-11D2-9697-00C04FD9B15B),
|
|
helpstring("Dispatch interface for GenSelectionEvents Control"), hidden ]
|
|
dispinterface _DGenSelectionEvents
|
|
{
|
|
properties:
|
|
// NOTE - ClassWizard will maintain property information here.
|
|
// Use extreme caution when editing this section.
|
|
//{{AFX_ODL_PROP(CGenSelectionEventsCtrl)
|
|
//}}AFX_ODL_PROP
|
|
|
|
methods:
|
|
// NOTE - ClassWizard will maintain method information here.
|
|
// Use extreme caution when editing this section.
|
|
//{{AFX_ODL_METHOD(CGenSelectionEventsCtrl)
|
|
[id(1)] void OnReadySignal();
|
|
//}}AFX_ODL_METHOD
|
|
|
|
[id(DISPID_ABOUTBOX)] void AboutBox();
|
|
};
|
|
|
|
// Event dispatch interface for CGenSelectionEventsCtrl
|
|
|
|
[ uuid(DA0C17F8-088A-11D2-9697-00C04FD9B15B),
|
|
helpstring("Event interface for GenSelectionEvents Control") ]
|
|
dispinterface _DGenSelectionEventsEvents
|
|
{
|
|
properties:
|
|
// Event interface has no properties
|
|
|
|
methods:
|
|
// NOTE - ClassWizard will maintain event information here.
|
|
// Use extreme caution when editing this section.
|
|
//{{AFX_ODL_EVENT(CGenSelectionEventsCtrl)
|
|
[id(1)] void EditExistingClass(VARIANT vExistingClass);
|
|
[id(2)] void NotifyOpenNameSpace(BSTR lpcstrNameSpace);
|
|
[id(3)] void GetIWbemServices(BSTR lpctstrNamespace, VARIANT* pvarUpdatePointer, VARIANT* pvarServices, VARIANT* pvarSC, VARIANT* pvarUserCancel);
|
|
//}}AFX_ODL_EVENT
|
|
};
|
|
|
|
// Class information for CGenSelectionEventsCtrl
|
|
|
|
[ uuid(DA0C17F9-088A-11D2-9697-00C04FD9B15B),
|
|
helpstring("GenSelectionEvents Control"), control ]
|
|
coclass GenSelectionEvents
|
|
{
|
|
[default] dispinterface _DGenSelectionEvents;
|
|
[default, source] dispinterface _DGenSelectionEventsEvents;
|
|
};
|
|
|
|
|
|
//{{AFX_APPEND_ODL}}
|
|
//}}AFX_APPEND_ODL}}
|
|
};
|