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.

63 lines
1.1 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1999
  3. Module Name:
  4. api.idl
  5. Abstract:
  6. RPC Interface for the SENS Connectivity APIs.
  7. Author:
  8. Gopal Parupudi <GopalP>
  9. [Notes:]
  10. optional-notes
  11. Revision History:
  12. GopalP 10/13/1997 Start.
  13. --*/
  14. [
  15. uuid(63fbe424-2029-11d1-8db8-00aa004abd5e),
  16. version(1.0),
  17. ]
  18. interface SensApi
  19. {
  20. import "wtypes.idl";
  21. import "sensapi.h";
  22. error_status_t
  23. RPC_IsNetworkAlive(
  24. [in] handle_t h,
  25. [out] DWORD * lpdwFlags,
  26. [out] BOOL * lpbNetAlive,
  27. [out] DWORD * lpdwLastError
  28. );
  29. error_status_t
  30. RPC_IsDestinationReachableW(
  31. [in] handle_t h,
  32. [in, string] wchar_t * lpszDestination,
  33. [in, out, unique] LPQOCINFO lpQOCInfo,
  34. [out] BOOL * lpbReachable,
  35. [out] DWORD * lpdwLastError
  36. );
  37. error_status_t
  38. RPC_IsDestinationReachableA(
  39. [in] handle_t h,
  40. [in, string] char * lpszDestination,
  41. [in, out, unique] LPQOCINFO lpQOCInfo,
  42. [out] BOOL * lpbReachable,
  43. [out] DWORD * lpdwLastError
  44. );
  45. }