Advertisement
Guest User

Untitled

a guest
Oct 7th, 2013
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
IDL 0.85 KB | None | 0 0
  1. import "oaidl.idl";
  2. import "ocidl.idl";
  3.  
  4. [uuid(7DC098C0-6B59-4D2A-952C-DFCB64D0F43A)]
  5. struct xGetPinOutNaw {
  6.   BSTR sDate_Time;
  7.   BSTR sRefTransaction_Number;
  8.   BSTR spincode;
  9.   BSTR sSerial_PinNo;
  10.   BSTR sExpiry_date;
  11.   BSTR sPromotion_msg;
  12. };
  13.  
  14. [
  15. object,
  16. uuid(ECDB526E-80AF-4C61-871C-6151B9860082),
  17. dual,
  18. helpstring("Icdll Interface"),
  19. pointer_default(unique)
  20. ]
  21. interface Icdll : IDispatch
  22. {
  23. [id(1), helpstring("method ucGetPinOnline")] HRESULT ucGetPinOnline(
  24.     [in] long isDemo, [in] long itemid, [in] BSTR dealerid, [in] BSTR Transaction_Number,
  25.     [out] struct xGetPinOutNaw* struct_PinInfo,
  26.     [in] BSTR sStoreNo, [in] BSTR sPOS_Serial, [in] long serviceid);
  27. };
  28.  
  29. [uuid(8DB2FDBC-EEDF-4475-AED3-69FADDFE9C84)]
  30. library MyLib {
  31.   [uuid(522CDC84-E366-4215-92B0-D35588555484)]
  32.   coclass MyClass {
  33.     [default] interface Icdll;
  34.   }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement