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.

57 lines
2.0 KiB

  1. //*****************************************************************************
  2. //
  3. // Microsoft Windows Media
  4. // Copyright (C) Microsoft Corporation. All rights reserved.
  5. //
  6. // FileName: wmsincomingcounter.idl
  7. //
  8. // Abstract:
  9. //
  10. //*****************************************************************************
  11. cpp_quote("//*****************************************************************************")
  12. cpp_quote("//")
  13. cpp_quote("// Microsoft Windows Media")
  14. cpp_quote("// Copyright (C) Microsoft Corporation. All rights reserved.")
  15. cpp_quote("//")
  16. cpp_quote("// Automatically generated by Midl from wmsincoming.idl" )
  17. cpp_quote("//")
  18. cpp_quote("// DO NOT EDIT THIS FILE.")
  19. cpp_quote("//")
  20. cpp_quote("//*****************************************************************************")
  21. import "oaidl.idl";
  22. cpp_quote("#ifndef _IWMSIncomingCounters")
  23. cpp_quote("#define _IWMSIncomingCounters")
  24. typedef unsigned __int64 QWORD;
  25. cpp_quote( "EXTERN_GUID( IID_IWMSIncomingCounters , 0xeded53ed,0x43b7,0x45ce,0x9c,0xbb,0xa8,0x72,0x92,0x3f,0x6a,0xae );" )
  26. //////////////////////////////////////////////////////////////////////////
  27. [
  28. local,
  29. object,
  30. uuid(EDED53ED-43B7-45ce-9CBB-A872923F6AAE),
  31. helpstring("Provides methods for updating incoming counters."),
  32. version(1.0),
  33. pointer_default(unique)
  34. ]
  35. //////////////////////////////////////////////////////////////////////////
  36. interface IWMSIncomingCounters : IUnknown
  37. {
  38. [helpstring("Allocates bandwidth, in Kbps, for an incoming connection client.")]
  39. HRESULT AllocateRequestedBandwidth( [in] DWORD dwAllocatedBandwidth );
  40. [helpstring("Adds the number of bytes received from an incoming connection client to the incoming bytes counter.")]
  41. HRESULT AddIncomingData( [in] DWORD dwDataLen );
  42. [helpstring("Decrements the incoming bandwidth counter by the bandwidth associated with an incoming connection client.")]
  43. HRESULT ClearIncomingStats( void );
  44. };
  45. cpp_quote("#endif")