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.

56 lines
1.5 KiB

  1. // EventWrapper.idl : IDL source for EventWrapper.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (EventWrapper.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. import "..\UploadManager\UploadManager.idl";
  8. [
  9. object,
  10. uuid(5F341B81-0286-11D3-9397-00C04F72DAF7),
  11. dual,
  12. helpstring("IUploadEventsWrapper Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface IUploadEventsWrapper : IMPCUploadEvents
  16. {
  17. HRESULT Register( [in] IMPCUploadJob* mpcujJob );
  18. };
  19. [
  20. uuid(0DAA8F93-0286-11D3-9397-00C04F72DAF7),
  21. version(1.0),
  22. helpstring("EventWrapper 1.0 Type Library")
  23. ]
  24. library EVENTWRAPPERLib
  25. {
  26. importlib("stdole32.tlb");
  27. importlib("stdole2.tlb");
  28. [
  29. uuid(5F341B83-0286-11D3-9397-00C04F72DAF7),
  30. helpstring("_IUploadEventsWrapperEvents Interface")
  31. ]
  32. dispinterface _IUploadEventsWrapperEvents
  33. {
  34. properties:
  35. methods:
  36. [id(1), helpstring("method onStatusChange") ] HRESULT onStatusChange ( [in] IMPCUploadJob* mpcujJob, [in] UL_STATUS status );
  37. [id(2), helpstring("method onProgressChange")] HRESULT onProgressChange( [in] IMPCUploadJob* mpcujJob, [in] long lCurrentSize, [in] long lTotalSize );
  38. };
  39. [
  40. uuid(5F341B82-0286-11D3-9397-00C04F72DAF7),
  41. helpstring("UploadEventsWrapper Class")
  42. ]
  43. coclass UploadEventsWrapper
  44. {
  45. [default] interface IUploadEventsWrapper;
  46. [default, source] dispinterface _IUploadEventsWrapperEvents;
  47. };
  48. };