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.

59 lines
2.3 KiB

  1. // wuaueng.idl : IDL source for wuaueng.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (wuaueng.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. import "unknwn.idl";
  8. import "..\inc\wuaustate.h";
  9. [
  10. object,
  11. uuid(11178075-25D2-4C9C-8087-4C36924091E1),
  12. helpstring("IUpdates Interface"),
  13. pointer_default(unique) ,
  14. oleautomation
  15. ]
  16. interface IUpdates : IClassFactory
  17. {
  18. [propget, id(1), helpstring("property State")] HRESULT State([out, retval] AUSTATE *pAuState);
  19. [propget, id(2), helpstring("property Option")] HRESULT Option([out, retval] AUOPTION *pVal);
  20. [propput, id(2), helpstring("property Option")] HRESULT Option([in] AUOPTION Val);
  21. [id(4), helpstring("method GetUpdatesList")] HRESULT GetUpdatesList([out] VARIANT *pUpdates);
  22. [id(5), helpstring("method SaveSelections")] HRESULT SaveSelections([in] VARIANT vUpdates);
  23. [id(6), helpstring("method StartDownload")] HRESULT StartDownload(void);
  24. [id(7), helpstring("method GetDownloadStatus")] HRESULT GetDownloadStatus([out] UINT *pPercentage, [out] DWORD *pStatus);
  25. [id(8), helpstring("method SetDownloadPaused")] HRESULT SetDownloadPaused([in] BOOL bPaused);
  26. [id(10), helpstring("method ConfigureAU")] HRESULT ConfigureAU();
  27. [id(11), helpstring("method AvailableSessions")] HRESULT AvailableSessions(UINT *pcSess);
  28. [id(13), helpstring("method get_GetEvtHandles")] HRESULT get_EvtHandles([in]DWORD dwCltProcId, [out, retval] AUEVTHANDLES *pauevtHandles);
  29. [id(14), helpstring("method ClientMessage")] HRESULT ClientMessage([in] UINT msg);
  30. [id(16), helpstring("method GetNotifyData")] HRESULT GetNotifyData([out] CLIENT_NOTIFY_DATA *pNotifyData);
  31. [id(17), helpstring("method GetInstallXML")] HRESULT GetInstallXML([out] BSTR *pbstrCatalogXML, [out] BSTR *pbstrDownloadXML);
  32. [id(18), helpstring("method LogEvent")] HRESULT LogEvent([in] WORD wType, [in] WORD wCategory, [in] DWORD dwEventID, [in] VARIANT vItems);
  33. };
  34. [
  35. uuid(D4D8199E-E376-4d57-8B08-BBF87E1F36B1),
  36. version(1.0),
  37. helpstring("wuaueng 1.0 Type Library")
  38. ]
  39. library WUAUENGLib
  40. {
  41. importlib("stdole2.tlb");
  42. [
  43. uuid(E9376CC6-121A-447e-81CF-D8BCC200007C),
  44. helpstring("Updates Class")
  45. ]
  46. coclass Updates
  47. {
  48. [default] interface IUpdates;
  49. };
  50. };