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.

71 lines
2.1 KiB

  1. /******************************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. UploadServerCustom.idl
  5. Abstract:
  6. This file contains the declaration of the set of pseudo-COM interfaces
  7. used by custom providers.
  8. Revision History:
  9. created derekm 04/21/00
  10. ******************************************************************************/
  11. import "oaidl.idl";
  12. import "ocidl.idl";
  13. interface IULServer;
  14. interface IULProvider;
  15. interface IULSession;
  16. [
  17. object,
  18. uuid(8E82AE00-D1A3-11D2-9374-00C04F72DAF7),
  19. pointer_default(unique)
  20. ]
  21. interface IULSession : IUnknown
  22. {
  23. [propget] HRESULT Client ( [out] BSTR *pVal );
  24. [propget] HRESULT Command ( [out] DWORD *pVal );
  25. [propget] HRESULT ProviderID ( [out] BSTR *pVal );
  26. [propget] HRESULT Username ( [out] BSTR *pVal );
  27. [propget] HRESULT JobID ( [out] BSTR *pVal );
  28. [propget] HRESULT SizeAvailable( [out] DWORD *pVal );
  29. [propget] HRESULT SizeTotal ( [out] DWORD *pVal );
  30. [propget] HRESULT SizeOriginal ( [out] DWORD *pVal );
  31. [propget] HRESULT Data ( [out] IStream* *pStm );
  32. [propget] HRESULT ProviderData ( [out] DWORD *pVal );
  33. [propput] HRESULT ProviderData ( [in] DWORD newVal );
  34. };
  35. [
  36. object,
  37. uuid(8E82AE01-D1A3-11D2-9374-00C04F72DAF7),
  38. pointer_default(unique)
  39. ]
  40. interface IULProvider : IUnknown
  41. {
  42. HRESULT ValidateClient ( [in] IULServer* server, [in] IULSession* job );
  43. HRESULT DataAvailable ( [in] IULServer* server, [in] IULSession* job );
  44. HRESULT TransferComplete( [in] IULServer* server, [in] IULSession* job );
  45. };
  46. [
  47. object,
  48. uuid(8E82AE02-D1A3-11D2-9374-00C04F72DAF7),
  49. pointer_default(unique)
  50. ]
  51. interface IULServer : IUnknown
  52. {
  53. HRESULT GetRequestVariable( [in] BSTR bstrName, [out] BSTR *pbstrVal );
  54. HRESULT AbortTransfer ( );
  55. HRESULT CompleteTransfer( [in] IStream* data );
  56. };