Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.8 KiB

  1. // lkuptbl.idl : IDL source for lkuptbl.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (lkuptbl.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(9B49C3DE-55B2-11d3-9508-00C04F72DC08),
  10. dual,
  11. helpstring("IPassportLookupTable Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IPassportLookupTable : IDispatch
  15. {
  16. [id(101), helpstring("method LoadValues")]
  17. HRESULT LoadValues( [in] BSTR bstrFilename,
  18. [in] int nFormat,
  19. [out, retval] long *plResult);
  20. [id(102), helpstring("method LoadValuesEx")]
  21. HRESULT LoadValuesEx([in] BSTR bstrFilename,
  22. [in] int nFormat,
  23. [in] int nPeriod,
  24. [out,retval] long *plResult);
  25. [id(103), helpstring("method LookupValue")]
  26. HRESULT LookupValue([in] VARIANT varKey,
  27. [out, retval] VARIANT *pvarVal);
  28. [id(104), helpstring("method KeyExists")]
  29. HRESULT KeyExists([in] VARIANT varKey,
  30. [out, retval] VARIANT_BOOL *pVal);
  31. [id(105), helpstring("method ReadLock")]
  32. HRESULT ReadLock();
  33. [id(106), helpstring("method ReadUnlock")]
  34. HRESULT ReadUnlock();
  35. [propget, id(201), helpstring("property Count")]
  36. HRESULT Count([out, retval] long *pcCount);
  37. [propget, id(202), helpstring("property Key")]
  38. HRESULT Key([in] long i, [out, retval] VARIANT *pvarKey);
  39. [propget, id(203), helpstring("property Value")]
  40. HRESULT Value([in] long i, [out, retval] VARIANT *pvarVal);
  41. };
  42. [
  43. uuid(9B49C3DF-55B2-11d3-9508-00C04F72DC08),
  44. version(1.0),
  45. helpstring("Passport LookupTable 1.0 Type Library")
  46. ]
  47. library LKUPTBLLib
  48. {
  49. importlib("stdole32.tlb");
  50. importlib("stdole2.tlb");
  51. [
  52. uuid(9B49C3E0-55B2-11d3-9508-00C04F72DC08),
  53. helpstring("Passport LookupTable Class")
  54. ]
  55. coclass LookupTable
  56. {
  57. [default] interface IPassportLookupTable;
  58. };
  59. };