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.

51 lines
1.8 KiB

  1. // Ocarpt.idl : IDL source for Ocarpt.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (Ocarpt.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. #include "olectl.h"
  8. [
  9. object,
  10. uuid(53E2D7B5-EC6C-4FF7-80F2-1CE5FD6544CE),
  11. dual,
  12. helpstring("IOcarptMain Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface IOcarptMain : IDispatch
  16. {
  17. [id(1), helpstring("method Upload")] HRESULT Upload([in] BSTR *SourceFile, [in]BSTR *DestFile, [in]BSTR *Langage, [in] BSTR *OptionCode, [in] int ConvetToMini, [out,retval] VARIANT *ReturnCode);
  18. [id(4), helpstring("method Search")] HRESULT Search([out,retval] VARIANT *pvFileList);
  19. [id(6), helpstring("method Browse")] HRESULT Browse([in] BSTR *pbstrTitle, [in]BSTR *Lang, [out,retval] VARIANT *Path);
  20. [id(7), helpstring("method ValidateDump")] HRESULT ValidateDump( [in] BSTR *FileName, [out,retval]VARIANT *Result);
  21. [id(8), helpstring("method RetrieveFileContents")] HRESULT RetrieveFileContents([in]BSTR *FileName, [out,retval] VARIANT *pvContents);
  22. [id(9), helpstring("method GetUploadStatus")] HRESULT GetUploadStatus([out,retval] VARIANT *PercentDone);
  23. [id(10), helpstring("method GetUploadResult")] HRESULT GetUploadResult([out,retval] VARIANT *UploadResult);
  24. [id(11), helpstring("method CancelUpload")] HRESULT CancelUpload([out,retval] VARIANT *ReturnCode);
  25. };
  26. [
  27. uuid(44550461-B572-48D9-96A0-0AE2A10F45D6),
  28. version(1.0),
  29. helpstring("Ocarpt 1.0 Type Library")
  30. ]
  31. library OCARPTLib
  32. {
  33. importlib("stdole32.tlb");
  34. importlib("stdole2.tlb");
  35. [
  36. uuid(D68DAEED-C2A6-4C6F-9365-4676B173D8EF),
  37. helpstring("OcarptMain Class")
  38. ]
  39. coclass OcarptMain
  40. {
  41. [default] interface IOcarptMain;
  42. };
  43. };