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.

54 lines
2.7 KiB

  1. // CERUpload.idl : IDL source for CERUpload.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (CERUpload.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. #include "olectl.h"
  8. [
  9. object,
  10. uuid(26D7830B-20F6-4462-A4EA-573A60791F0E),
  11. dual,
  12. helpstring("ICerClient Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface ICerClient : IDispatch
  16. {
  17. [id(1), helpstring("method GetFileCount")] HRESULT GetFileCount([in] BSTR *bstrSharePath, [in] BSTR *bstrTransactID, [in] VARIANT *iMaxCount, [out,retval] VARIANT *RetVal);
  18. [id(3), helpstring("method Upload")] HRESULT Upload([in] BSTR *Path, [in] BSTR *TransID, [in]BSTR *FileName, [in] BSTR*IncidentID, [in] BSTR *RedirParam, [out,retval] VARIANT *RetCode);
  19. [id(4), helpstring("method RetryTransaction")] HRESULT RetryTransaction([in] BSTR *Path, [in]BSTR *TransID, [in] BSTR *FileName, [out,retval] VARIANT * RetVal);
  20. [id(5), helpstring("method RetryFile")] HRESULT RetryFile([in] BSTR *Path, [in] BSTR *TransID, [in] BSTR FileName, [out,retval] VARIANT * RetCode);
  21. [id(6), helpstring("method GetFileNames")] HRESULT GetFileNames([in]BSTR *Path, [in]BSTR *TransID, [in] VARIANT *Count, [out,retval] VARIANT *FileList);
  22. [id(7), helpstring("method Browse")] HRESULT Browse([in]BSTR *WindowTitle, [out,retval] VARIANT *Path);
  23. [id(8), helpstring("method GetCompuerNames")] HRESULT GetCompuerNames([in]BSTR *Path, [in]BSTR *TransID,[in]BSTR *FileList,[out,retval]VARIANT *RetFileList);
  24. [id(9), helpstring("method GetAllComputerNames")] HRESULT GetAllComputerNames([in]BSTR *Path, [in]BSTR *TransID, [in] BSTR* FileList, [out,retval] VARIANT *ReturnList);
  25. [id(10), helpstring("method RetryFile1")] HRESULT RetryFile1([in]BSTR *Path,[in]BSTR *TransID,[in]BSTR *FileName,[in]BSTR *IncidentID, [in]BSTR *RedirParam,[out,retval] VARIANT *RetCode);
  26. [id(11), helpstring("method EndTransaction")] HRESULT EndTransaction([in]BSTR *SharePath,[in]BSTR *TransID, [out,retval] VARIANT *RetCode);
  27. [id(12), helpstring("method Upload1")] HRESULT Upload1([in]BSTR *Path, [in]BSTR *TransID, [in]BSTR *FileName, [in]BSTR *IncidentID, [in]BSTR *RedirParam, [in]BSTR *Type, [out,retval] VARIANT *RetCode);
  28. [id(13), helpstring("method GetSuccessCount")] HRESULT GetSuccessCount([in]BSTR *Path, [in]BSTR *TransID, [out,retval] VARIANT *RetVal);
  29. };
  30. [
  31. uuid(A3800A93-4BC1-4E96-A3F9-740EF8623B23),
  32. version(1.0),
  33. helpstring("CERUpload 1.0 Type Library")
  34. ]
  35. library CERUPLOADLib
  36. {
  37. importlib("stdole32.tlb");
  38. importlib("stdole2.tlb");
  39. [
  40. uuid(35D339D5-756E-4948-860E-30B6C3B4494A),
  41. helpstring("CerClient Class")
  42. ]
  43. coclass CerClient
  44. {
  45. [default] interface ICerClient;
  46. };
  47. };