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.

36 lines
1.3 KiB

  1. import "oaidl.idl";
  2. [ object,
  3. uuid(0117eac4-29e0-4f81-8a19-80900ccfffe5),
  4. oleautomation,
  5. dual ]
  6. interface IUpdateInf : IDispatch
  7. {
  8. [id(3)] HRESULT InsertFile( [in] BSTR bstrFileName );
  9. [id(4)] HRESULT WriteSectionData( [in] BSTR bstrSection, [in] BSTR bstrValue );
  10. [id(5)] HRESULT SetConfigurationField( [in] BSTR bstrFieldName, [in] BSTR bstrValue );
  11. [id(6)] HRESULT SetVersionField( [in] BSTR bstrFieldName, [in] BSTR bstrValue );
  12. [id(7)] HRESULT AddSourceDisksFilesEntry( [in] BSTR bstrFile, [in] BSTR bstrTag );
  13. [id(8)] HRESULT AddEquality( [in] BSTR bstrSection, [in] BSTR bstrLVal, [in] BSTR bstrRVal );
  14. [id(9)] HRESULT SetDB( [in] BSTR bstrServer,
  15. [in] BSTR bstrDB,
  16. [in, defaultvalue(NULL)] BSTR bstrUser,
  17. [in, defaultvalue(NULL)] BSTR bstrPassword );
  18. [id(10)] HRESULT InitGen( [in] BSTR bstrInxFile, [in] BSTR bstrInfFile );
  19. [id(11)] HRESULT CloseGen( [in] BOOL bTrimInf );
  20. [id(12), propget] HRESULT InfGenError( [out, retval] BSTR *bstrError );
  21. };
  22. [ uuid(7c1b689f-3b9f-4c65-aa65-9951a5048e47),
  23. helpstring("Update INF Generator"),
  24. version(1.0) ]
  25. library InfGeneratorLib
  26. {
  27. importlib("stdole32.tlb");
  28. interface IUpdateInf;
  29. [ uuid(9cd916b9-2004-42b1-b639-572fbf647204) ]
  30. coclass InfGenerator
  31. {
  32. interface IUpdateInf;
  33. };
  34. };