www.pudn.com > smpplib_src.zip > SMPPCOM.idl


// SMPPCOM.idl : IDL source for SMPPCOM 
// 
 
// This file will be processed by the MIDL tool to 
// produce the type library (SMPPCOM.tlb) and marshalling code. 
 
import "oaidl.idl"; 
import "ocidl.idl"; 
 
[ 
	object, 
	uuid(DF4BDE09-633A-4514-B72D-342271D61463), 
	dual, 
	nonextensible, 
	helpstring("ISmppDateCom Interface"), 
	pointer_default(unique) 
] 
interface ISmppDateCom : IDispatch{ 
	[id(1), helpstring("method isNull")] HRESULT isNull([out, retval] VARIANT_BOOL *valnull); 
	[id(2), helpstring("method setNull")] HRESULT setNull(void); 
	[id(3), helpstring("method toString")] HRESULT toString([out, retval] BSTR *strdate); 
	[id(4), helpstring("method setDate")] HRESULT setDate([in] BSTR strdate); 
}; 
[ 
	object, 
	uuid(2CB72805-62F8-470F-B28E-85159572DF87), 
	dual, 
	nonextensible, 
	helpstring("ISmppAddressCom Interface"), 
	pointer_default(unique) 
] 
interface ISmppAddressCom : IDispatch{ 
	[propget, id(1), helpstring("property TON")] HRESULT TON([out, retval] SHORT* pVal); 
	[propput, id(1), helpstring("property TON")] HRESULT TON([in] SHORT newVal); 
	[propget, id(2), helpstring("property NPI")] HRESULT NPI([out, retval] SHORT* pVal); 
	[propput, id(2), helpstring("property NPI")] HRESULT NPI([in] SHORT newVal); 
	[propget, id(3), helpstring("property Address")] HRESULT Address([out, retval] BSTR* pVal); 
	[propput, id(3), helpstring("property Address")] HRESULT Address([in] BSTR newVal); 
}; 
[ 
	object, 
	uuid(C464074B-85CF-42B7-AB92-E7998FBAFA74), 
	dual, 
	nonextensible, 
	helpstring("ISubmitSMCom Interface"), 
	pointer_default(unique) 
] 
interface ISubmitSMCom : IDispatch{ 
	[propget, id(1), helpstring("property ServiceType")] HRESULT ServiceType([out, retval] BSTR* pVal); 
	[propput, id(1), helpstring("property ServiceType")] HRESULT ServiceType([in] BSTR newVal); 
	[propget, id(2), helpstring("property Source")] HRESULT Source([out, retval] ISmppAddressCom** pVal); 
	[propput, id(2), helpstring("property Source")] HRESULT Source([in] ISmppAddressCom* newVal); 
	[propget, id(3), helpstring("property Destination")] HRESULT Destination([out, retval] ISmppAddressCom** pVal); 
	[propput, id(3), helpstring("property Destination")] HRESULT Destination([in] ISmppAddressCom* newVal); 
	[propget, id(4), helpstring("property esmClass")] HRESULT esmClass([out, retval] SHORT* pVal); 
	[propput, id(4), helpstring("property esmClass")] HRESULT esmClass([in] SHORT newVal); 
	[propget, id(5), helpstring("property dataCoding")] HRESULT dataCoding([out, retval] SHORT* pVal); 
	[propput, id(5), helpstring("property dataCoding")] HRESULT dataCoding([in] SHORT newVal); 
	[propget, id(6), helpstring("property protocolID")] HRESULT protocolID([out, retval] SHORT* pVal); 
	[propput, id(6), helpstring("property protocolID")] HRESULT protocolID([in] SHORT newVal); 
	[propget, id(7), helpstring("property priorityFlag")] HRESULT priorityFlag([out, retval] SHORT* pVal); 
	[propput, id(7), helpstring("property priorityFlag")] HRESULT priorityFlag([in] SHORT newVal); 
	[propget, id(8), helpstring("property scheduledDelivery")] HRESULT scheduledDelivery([out, retval] ISmppDateCom** pVal); 
	[propput, id(8), helpstring("property scheduledDelivery")] HRESULT scheduledDelivery([in] ISmppDateCom* newVal); 
	[propget, id(9), helpstring("property validityPeriod")] HRESULT validityPeriod([out, retval] ISmppDateCom** pVal); 
	[propput, id(9), helpstring("property validityPeriod")] HRESULT validityPeriod([in] ISmppDateCom* newVal); 
	[propget, id(10), helpstring("property registeredDelivery")] HRESULT registeredDelivery([out, retval] SHORT* pVal); 
	[propput, id(10), helpstring("property registeredDelivery")] HRESULT registeredDelivery([in] SHORT newVal); 
	[propget, id(11), helpstring("property replaceIfPresent")] HRESULT replaceIfPresent([out, retval] SHORT* pVal); 
	[propput, id(11), helpstring("property replaceIfPresent")] HRESULT replaceIfPresent([in] SHORT newVal); 
	[propget, id(12), helpstring("property smDefaultMsgId")] HRESULT smDefaultMsgId([out, retval] SHORT* pVal); 
	[propput, id(12), helpstring("property smDefaultMsgId")] HRESULT smDefaultMsgId([in] SHORT newVal); 
	[propget, id(13), helpstring("property Message")] HRESULT Message([out, retval] BSTR* pVal); 
	[propput, id(13), helpstring("property Message")] HRESULT Message([in] BSTR newVal); 
	[id(14), helpstring("method compactMessage")] HRESULT compactMessage(void); 
	[id(15), helpstring("method flipByteOrder")] HRESULT flipByteOrder(void); 
	[id(16), helpstring("method setMessage")] HRESULT setMessage([in] VARIANT msgdata); 
	[id(17), helpstring("method getMessage")] HRESULT getMessage([out,retval] VARIANT* pmsgdata); 
}; 
[ 
	object, 
	uuid(3C9111B7-D010-48E6-9AA6-33599987481F), 
	dual, 
	nonextensible, 
	helpstring("IEsmeTransmitterCom Interface"), 
	pointer_default(unique) 
] 
interface IEsmeTransmitterCom : IDispatch{ 
	[id(1), helpstring("method bind")] HRESULT bind([in] BSTR sysid, [in] BSTR passwd, [in] BSTR systype, [in] ISmppAddressCom* iaddr, [out, retval] VARIANT_BOOL* pret); 
	[id(2), helpstring("method unbind")] HRESULT unbind([out, retval] VARIANT_BOOL *pret); 
	[id(3), helpstring("method enquireLink")] HRESULT enquireLink([out, retval] VARIANT_BOOL* pret); 
	[id(4), helpstring("method init")] HRESULT init([in] BSTR svrip, [in] LONG port); 
	[id(5), helpstring("method close")] HRESULT close(void); 
	[propget, id(6), helpstring("property Connected")] HRESULT Connected([out, retval] VARIANT_BOOL* pVal); 
	[id(7), helpstring("method submitMessage")] HRESULT submitMessage([in] ISubmitSMCom* isubmit, [out] BSTR* pMsgid, [out, retval] VARIANT_BOOL* pret); 
}; 
[ 
	object, 
	uuid(2DB76F63-43CA-4610-BFD0-3CE885D6078B), 
	dual, 
	nonextensible, 
	helpstring("IDeliverSMCom Interface"), 
	pointer_default(unique) 
] 
interface IDeliverSMCom : IDispatch{ 
	[propget, id(1), helpstring("property ServiceType")] HRESULT ServiceType([out, retval] BSTR* pVal); 
	[propput, id(1), helpstring("property ServiceType")] HRESULT ServiceType([in] BSTR newVal); 
	[propget, id(2), helpstring("property Source")] HRESULT Source([out, retval] ISmppAddressCom** pVal); 
	[propput, id(2), helpstring("property Source")] HRESULT Source([in] ISmppAddressCom* newVal); 
	[propget, id(3), helpstring("property Destination")] HRESULT Destination([out, retval] ISmppAddressCom** pVal); 
	[propput, id(3), helpstring("property Destination")] HRESULT Destination([in] ISmppAddressCom* newVal); 
	[propget, id(4), helpstring("property esmClass")] HRESULT esmClass([out, retval] SHORT* pVal); 
	[propput, id(4), helpstring("property esmClass")] HRESULT esmClass([in] SHORT newVal); 
	[propget, id(5), helpstring("property dataCoding")] HRESULT dataCoding([out, retval] SHORT* pVal); 
	[propput, id(5), helpstring("property dataCoding")] HRESULT dataCoding([in] SHORT newVal); 
	[propget, id(6), helpstring("property protocolID")] HRESULT protocolID([out, retval] SHORT* pVal); 
	[propput, id(6), helpstring("property protocolID")] HRESULT protocolID([in] SHORT newVal); 
	[propget, id(7), helpstring("property priorityFlag")] HRESULT priorityFlag([out, retval] SHORT* pVal); 
	[propput, id(7), helpstring("property priorityFlag")] HRESULT priorityFlag([in] SHORT newVal); 
	[propget, id(8), helpstring("property scheduledDelivery")] HRESULT scheduledDelivery([out, retval] ISmppDateCom** pVal); 
	[propput, id(8), helpstring("property scheduledDelivery")] HRESULT scheduledDelivery([in] ISmppDateCom* newVal); 
	[propget, id(9), helpstring("property validityPeriod")] HRESULT validityPeriod([out, retval] ISmppDateCom** pVal); 
	[propput, id(9), helpstring("property validityPeriod")] HRESULT validityPeriod([in] ISmppDateCom* newVal); 
	[propget, id(10), helpstring("property registeredDelivery")] HRESULT registeredDelivery([out, retval] SHORT* pVal); 
	[propput, id(10), helpstring("property registeredDelivery")] HRESULT registeredDelivery([in] SHORT newVal); 
	[propget, id(11), helpstring("property replaceIfPresent")] HRESULT replaceIfPresent([out, retval] SHORT* pVal); 
	[propput, id(11), helpstring("property replaceIfPresent")] HRESULT replaceIfPresent([in] SHORT newVal); 
	[propget, id(12), helpstring("property smDefaultMsgId")] HRESULT smDefaultMsgId([out, retval] SHORT* pVal); 
	[propput, id(12), helpstring("property smDefaultMsgId")] HRESULT smDefaultMsgId([in] SHORT newVal); 
	[propget, id(13), helpstring("property Message")] HRESULT Message([out, retval] BSTR* pVal); 
	[propput, id(13), helpstring("property Message")] HRESULT Message([in] BSTR newVal); 
	[id(14), helpstring("method compactMessage")] HRESULT compactMessage(void); 
	[id(15), helpstring("method flipByteOrder")] HRESULT flipByteOrder(void); 
	[id(16), helpstring("method setMessage")] HRESULT setMessage([in] VARIANT msgdata); 
	[id(17), helpstring("method getMessage")] HRESULT getMessage([out,retval] VARIANT* pmsgdata); 
}; 
[ 
	object, 
	uuid(C258AF14-8CEF-404F-BE03-62B6C57F6026), 
	dual, 
	nonextensible, 
	helpstring("IEsmeTransceiverCom Interface"), 
	pointer_default(unique) 
] 
interface IEsmeTransceiverCom : IDispatch{ 
	[id(1), helpstring("method bind")] HRESULT bind([in] BSTR sysid, [in] BSTR passwd, [in] BSTR systype, [in] ISmppAddressCom* iaddr, [out, retval] VARIANT_BOOL* pret); 
	[id(2), helpstring("method unbind")] HRESULT unbind([out, retval] VARIANT_BOOL *pret); 
	[id(3), helpstring("method enquireLink")] HRESULT enquireLink([out, retval] VARIANT_BOOL* pret); 
	[id(4), helpstring("method init")] HRESULT init([in] BSTR svrip, [in] LONG port); 
	[id(5), helpstring("method close")] HRESULT close(void); 
	[propget, id(6), helpstring("property Connected")] HRESULT Connected([out, retval] VARIANT_BOOL* pVal); 
	[id(7), helpstring("method submitMessage")] HRESULT submitMessage([in] ISubmitSMCom* isubmit, [out] BSTR* pMsgid, [out, retval] VARIANT_BOOL* pret); 
}; 
[ 
	object, 
	uuid(57E38123-98A1-4219-8CB6-EF45A5428238), 
	dual, 
	nonextensible, 
	helpstring("IEsmeReceiverCom Interface"), 
	pointer_default(unique) 
] 
interface IEsmeReceiverCom : IDispatch{ 
	[id(1), helpstring("method bind")] HRESULT bind([in] BSTR sysid, [in] BSTR passwd, [in] BSTR systype, [in] ISmppAddressCom* iaddr, [out, retval] VARIANT_BOOL* pret); 
	[id(2), helpstring("method unbind")] HRESULT unbind([out, retval] VARIANT_BOOL *pret); 
	[id(3), helpstring("method enquireLink")] HRESULT enquireLink([out, retval] VARIANT_BOOL* pret); 
	[id(4), helpstring("method init")] HRESULT init([in] BSTR svrip, [in] LONG port); 
	[id(5), helpstring("method close")] HRESULT close(void); 
	[propget, id(6), helpstring("property Connected")] HRESULT Connected([out, retval] VARIANT_BOOL* pVal); 
}; 
[ 
	uuid(E86C7AA4-22B2-4D89-8C11-C1A1645CE030), 
	version(1.0), 
	helpstring("SMPPCOM 1.0 Type Library") 
] 
library SMPPCOMLib 
{ 
	importlib("stdole2.tlb"); 
	[ 
		uuid(EC69E685-1C42-41A0-B941-1504F6AC17AD), 
		helpstring("SubmitSMCom Class") 
	] 
	coclass SubmitSMCom 
	{ 
		[default] interface ISubmitSMCom; 
	}; 
	[ 
		uuid(A79C8B2C-C8A8-4AB2-8942-E74BB8E7C202), 
		helpstring("DeliverSMCom Class") 
	] 
	coclass DeliverSMCom 
	{ 
		[default] interface IDeliverSMCom; 
	}; 
	[ 
		uuid(A4A12ED6-F39A-4801-B626-74A2BC332A56), 
		helpstring("SmppDateCom Class") 
	] 
	coclass SmppDateCom 
	{ 
		[default] interface ISmppDateCom; 
	}; 
	[ 
		uuid(8E5E31AA-DA91-4D7D-868B-945CB4CF6E02), 
		helpstring("SmppAddressCom Class") 
	] 
	coclass SmppAddressCom 
	{ 
		[default] interface ISmppAddressCom; 
	}; 
	[ 
		uuid(E8A13A9B-72A2-444E-AA3C-1C7ADBD4BE5E), 
		helpstring("EsmeTransmitterCom Class") 
	] 
	coclass EsmeTransmitterCom 
	{ 
		[default] interface IEsmeTransmitterCom; 
	}; 
	[ 
		uuid(FBD47734-D76D-4327-8AF2-3FD334ECC1A2), 
		helpstring("_IEsmeTransceiverComEvents Interface") 
	] 
	dispinterface _IEsmeTransceiverComEvents 
	{ 
		properties: 
		methods: 
		[id(1), helpstring("method OnDeliverSM")] HRESULT OnDeliverSM([in] IDeliverSMCom* dsm); 
	}; 
	[ 
		uuid(270CF62C-9385-4D01-900A-9C221199A3B0), 
		helpstring("EsmeTransceiverCom Class") 
	] 
	coclass EsmeTransceiverCom 
	{ 
		[default] interface IEsmeTransceiverCom; 
		[default, source] dispinterface _IEsmeTransceiverComEvents; 
	}; 
	[ 
		uuid(0BD6067E-7EF9-4576-B583-DD603ADF8BCC), 
		helpstring("_IEsmeReceiverComEvents Interface") 
	] 
	dispinterface _IEsmeReceiverComEvents 
	{ 
		properties: 
		methods: 
		[id(1), helpstring("method OnDeliverSM")] HRESULT OnDeliverSM([in] IDeliverSMCom* dsm); 
	}; 
	[ 
		uuid(6CC2B796-F91D-452F-BB3D-1A921F8D5D35), 
		helpstring("EsmeReceiverCom Class") 
	] 
	coclass EsmeReceiverCom 
	{ 
		[default] interface IEsmeReceiverCom; 
		[default, source] dispinterface _IEsmeReceiverComEvents; 
	}; 
};