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.

50 lines
1.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992-2001.
  5. //
  6. // File: udpbcast.idl
  7. //
  8. //----------------------------------------------------------------------------
  9. cpp_quote("//+-------------------------------------------------------------------------")
  10. cpp_quote("//")
  11. cpp_quote("// Microsoft Windows")
  12. cpp_quote("// Copyright (C) Microsoft Corporation, 1992-2001.")
  13. cpp_quote("//")
  14. cpp_quote("//--------------------------------------------------------------------------")
  15. cpp_quote("#if ( _MSC_VER >= 800 )")
  16. cpp_quote("#pragma warning(disable:4201)")
  17. cpp_quote("#endif")
  18. #ifndef DO_NO_IMPORTS
  19. import "oaidl.idl";
  20. import "unknwn.idl";
  21. import "wtypes.idl";
  22. #endif
  23. [
  24. local,
  25. object,
  26. uuid(e501032a-64d3-492f-980e-a04d0fac3d7d),
  27. pointer_default(unique)
  28. ]
  29. interface IUdpBroadcastMapper : IUnknown
  30. {
  31. HRESULT
  32. CreateUdpBroadcastMapping(
  33. [in] USHORT usPublicPort,
  34. [in] DWORD dwPublicInterfaceIndex,
  35. [in] ULONG ulDestinationAddress,
  36. [out] void **ppvCookie
  37. );
  38. HRESULT
  39. CancelUdpBroadcastMapping(
  40. [in] void *pvCookie
  41. );
  42. HRESULT
  43. Shutdown();
  44. };