Leaked source code of windows server 2003
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.

40 lines
1.7 KiB

  1. // This is a part of the Active Template Library.
  2. // Copyright (C) 1996-1997 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Active Template Library Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Active Template Library product.
  10. // atl.idl : IDL source for atl.dll
  11. //
  12. cpp_quote("EXTERN_C const CLSID CLSID_Registrar;")
  13. // This file will be processed by the MIDL tool to
  14. // produce the type library (atl.tlb) and marshalling code.
  15. import "oaidl.idl";
  16. [
  17. uuid(44EC053B-400F-11D0-9DCD-00A0C90391D3),
  18. helpstring("IRegistrar Interface"),
  19. pointer_default(unique)
  20. ]
  21. interface IRegistrar : IUnknown
  22. {
  23. //////////////////////////////////////////////////////////
  24. // Script based methods
  25. //////////////////////////////////////////////////////////
  26. [id(100)] HRESULT AddReplacement([in] LPCOLESTR key, [in] LPCOLESTR item);
  27. [id(101)] HRESULT ClearReplacements();
  28. [id(102)] HRESULT ResourceRegisterSz([in] LPCOLESTR resFileName, [in] LPCOLESTR szID, [in] LPCOLESTR szType);
  29. [id(103)] HRESULT ResourceUnregisterSz([in] LPCOLESTR resFileName, [in] LPCOLESTR szID, [in] LPCOLESTR szType);
  30. [id(104)] HRESULT FileRegister([in] LPCOLESTR fileName);
  31. [id(105)] HRESULT FileUnregister([in] LPCOLESTR fileName);
  32. [id(106)] HRESULT StringRegister([in] LPCOLESTR data);
  33. [id(107)] HRESULT StringUnregister([in] LPCOLESTR data);
  34. [id(120)] HRESULT ResourceRegister([in] LPCOLESTR resFileName, [in] UINT nID, [in] LPCOLESTR szType);
  35. [id(121)] HRESULT ResourceUnregister([in] LPCOLESTR resFileName, [in] UINT nID, [in] LPCOLESTR szType);
  36. };