Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import "oaidl.idl";
- import "ocidl.idl";
- [uuid(7DC098C0-6B59-4D2A-952C-DFCB64D0F43A)]
- struct xGetPinOutNaw {
- BSTR sDate_Time;
- BSTR sRefTransaction_Number;
- BSTR spincode;
- BSTR sSerial_PinNo;
- BSTR sExpiry_date;
- BSTR sPromotion_msg;
- };
- [
- object,
- uuid(ECDB526E-80AF-4C61-871C-6151B9860082),
- dual,
- helpstring("Icdll Interface"),
- pointer_default(unique)
- ]
- interface Icdll : IDispatch
- {
- [id(1), helpstring("method ucGetPinOnline")] HRESULT ucGetPinOnline(
- [in] long isDemo, [in] long itemid, [in] BSTR dealerid, [in] BSTR Transaction_Number,
- [out] struct xGetPinOutNaw* struct_PinInfo,
- [in] BSTR sStoreNo, [in] BSTR sPOS_Serial, [in] long serviceid);
- };
- [uuid(8DB2FDBC-EEDF-4475-AED3-69FADDFE9C84)]
- library MyLib {
- [uuid(522CDC84-E366-4215-92B0-D35588555484)]
- coclass MyClass {
- [default] interface Icdll;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement