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.

60 lines
2.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: WUpdInfo.idl
  8. //
  9. //--------------------------------------------------------------------------
  10. // WUpdInfo.idl : IDL source for WUpdInfo.dll
  11. //
  12. // This file will be processed by the MIDL tool to
  13. // produce the type library (WUpdInfo.tlb) and marshalling code.
  14. import "oaidl.idl";
  15. import "ocidl.idl";
  16. [
  17. object,
  18. uuid(A3863C2D-86EB-11D1-A9DB-00C04FB16F9E),
  19. dual,
  20. helpstring("ICWUpdInfo Interface"),
  21. pointer_default(unique)
  22. ]
  23. interface ICWUpdInfo : IDispatch
  24. {
  25. [id(1), helpstring("method GetWinUpdURL")] HRESULT GetWinUpdURL([out, retval] BSTR *pbstrURL);
  26. [id(2), helpstring("method IsDisabled")] HRESULT IsDisabled([out, retval] BOOL *pfDisabled);
  27. [id(3), helpstring("method GotoMTSURL")] HRESULT GotoMTSURL([in] BSTR bstrURLArgs);
  28. [id(4), helpstring("method GotoMTSOEMURL")] HRESULT GotoMTSOEMURL([out, retval] int *pnRetval);
  29. [id(5), helpstring("method GetMTSURL")] HRESULT GetMTSURL(BSTR bstrURLArgs,
  30. [out, retval] BSTR *pbstrURL);
  31. [id(6), helpstring("method GetMTSOEMURL")] HRESULT GetMTSOEMURL([out, retval] BSTR *pbstrURL);
  32. [id(7), helpstring("method GetMachineLanguage")] HRESULT GetMachineLanguage([out, retval] BSTR * pbstrMachineLanguage);
  33. [id(8), helpstring("method GetUserLanguage")] HRESULT GetUserLanguage([out, retval] BSTR * pbstrUserLanguage);
  34. [id(9), helpstring("method GetLanguage")] HRESULT GetLanguage([out, retval] BSTR * pbstrLanguage);
  35. [id(10), helpstring("method GetPlatform")] HRESULT GetPlatform([out, retval] BSTR * pbstrPlatform);
  36. [id(11), helpstring("method IsRegistered")] HRESULT IsRegistered([out, retval] VARIANT_BOOL * pfRegistered);
  37. [id(12), helpstring("method IsConnected")] HRESULT IsConnected([out, retval] VARIANT_BOOL * pfConnected);
  38. };
  39. [
  40. uuid(A3863C1C-86EB-11D1-A9DB-00C04FB16F9E),
  41. version(1.0),
  42. helpstring("WUpdInfo 1.0 Type Library")
  43. ]
  44. library WUPDINFOLib
  45. {
  46. importlib("stdole2.tlb");
  47. [
  48. uuid(A3863C2E-86EB-11D1-A9DB-00C04FB16F9E),
  49. helpstring("CWUpdInfo Class")
  50. ]
  51. coclass CWUpdInfo
  52. {
  53. [default] interface ICWUpdInfo;
  54. };
  55. };