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.

46 lines
1.5 KiB

  1. // SecMan.idl : IDL source for SecMan.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (SecMan.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(BBDAD34A-A581-4741-BFAD-6C906E7AB607),
  10. dual,
  11. helpstring("ISecurityDatabase Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface ISecurityDatabase : IDispatch
  15. {
  16. [propget, id(1), helpstring("property FileName")] HRESULT FileName([out, retval] BSTR *pVal);
  17. [propput, id(1), helpstring("property FileName")] HRESULT FileName([in] BSTR newVal);
  18. [propget, id(2), helpstring("property MachineName")] HRESULT MachineName([out, retval] BSTR *pVal);
  19. [propput, id(2), helpstring("property MachineName")] HRESULT MachineName([in] BSTR newVal);
  20. [id(3), helpstring("method ImportTemplateFile")] HRESULT ImportTemplateFile([in] BSTR FileName);
  21. [id(4), helpstring("method ImportTemplateString")] HRESULT ImportTemplateString([in] BSTR TemplateString);
  22. [id(5), helpstring("method Analyze")] HRESULT Analyze();
  23. [id(6), helpstring("method ExportAnalysisToXML")] HRESULT ExportAnalysisToXML([in] BSTR FileName, [in] BSTR ErrorLogFileName);
  24. };
  25. [
  26. uuid(D0F9A1CC-C875-49A4-BACC-F498091CE8D2),
  27. version(1.0),
  28. helpstring("SecMan 1.0 Type Library")
  29. ]
  30. library SECMANLib
  31. {
  32. importlib("stdole32.tlb");
  33. importlib("stdole2.tlb");
  34. [
  35. uuid(47D6534F-006B-4BA7-97D3-E2DD5DC4B144),
  36. helpstring("SecurityDatabase Class")
  37. ]
  38. coclass SecurityDatabase
  39. {
  40. [default] interface ISecurityDatabase;
  41. };
  42. };