Source code of Windows XP (NT5)
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.

41 lines
1.2 KiB

  1. // Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
  2. //
  3. // MODULE: relstat.acf
  4. //
  5. // PURPOSE: .ACF file for relstat.idl. This controls the
  6. // aspects of the interface which do not affect
  7. // the wire. (error handling, memory allocation, etc)
  8. //
  9. //
  10. #ifdef SERVER
  11. //
  12. // On the server side of your application using the fast RpcSmAllocate
  13. // is recommended in server's which do many allocations.
  14. // Although it may be used on the client, this requires more work
  15. // and has little performance impact.
  16. //
  17. #define ENABLE_ALLOC ,enable_allocate
  18. #else
  19. #define ENABLE_ALLOC /* client */
  20. #endif
  21. [strict_context_handle]
  22. interface RelstatRPCService
  23. {
  24. // The [comm_status] and [fault_status] attributes cause the stubs
  25. // to return any errors in an error_status_t parameter or return
  26. // value. Otherwise, any communication errors will get raised as
  27. // an exception. This has no performance affect, but it keeps the
  28. // client code cleaner.
  29. [comm_status, fault_status] RelStatProcessInfo();
  30. [comm_status, fault_status] RelStatPoolTagInfo();
  31. [comm_status, fault_status] RelStatBuildNumber();
  32. [comm_status, fault_status] RelStatTickCount();
  33. }