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.

108 lines
2.4 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1991 - 1999
  3. Module Name:
  4. mgmt.idl
  5. Abstract:
  6. This file specifies the remote mgmt api interface as specified
  7. in the AES Appendix Q. with some modifications.
  8. Author:
  9. AES ??
  10. Revision History:
  11. --*/
  12. midl_pragma warning (disable: 2466 2467 )
  13. [uuid(afa8bd80-7d8a-11c9-bef4-08002b102989), version(1)]
  14. interface mgmt
  15. {
  16. import "nbase.idl";
  17. typedef unsigned long error_status_t;
  18. typedef [range(0,50)] unsigned32 StatisticsCount;
  19. typedef struct
  20. {
  21. unsigned long Count;
  22. [size_is(Count)] RPC_IF_ID * IfId[];
  23. } * rpc_if_id_vector_p_t;
  24. cpp_quote("//")
  25. cpp_quote("// The maximum size, in bytes, of incoming data for methods in the interface.")
  26. cpp_quote("//")
  27. cpp_quote("// We keep this large to have space for a token in case we use authentication")
  28. cpp_quote("// with this interface in the future.")
  29. cpp_quote("//")
  30. cpp_quote("#define mgmt_MaxRpcSize (4*1024)")
  31. /*
  32. * R P C _ _ M G M T _ I N Q _ I F _ I D S
  33. */
  34. void rpc_mgmt_inq_if_ids
  35. (
  36. [in] handle_t binding_handle,
  37. [out] rpc_if_id_vector_p_t *if_id_vector,
  38. [out] error_status_t *status
  39. );
  40. /*
  41. * R P C _ _ M G M T _ I N Q _ S T A T S
  42. */
  43. void rpc_mgmt_inq_stats
  44. (
  45. [in] handle_t binding_handle,
  46. [in, out] StatisticsCount *count,
  47. [out, size_is (*count)] unsigned32 statistics[*],
  48. [out] error_status_t *status
  49. );
  50. /*
  51. * R P C _ _ M G M T _ I S _ S E R V E R _ L I S T E N I N G
  52. */
  53. boolean32 rpc_mgmt_is_server_listening
  54. (
  55. [in] handle_t binding_handle,
  56. [out] error_status_t *status
  57. );
  58. /*
  59. * R P C _ _ M G M T _ S T O P _ S E R V E R _ L I S T E N I N G
  60. */
  61. void rpc_mgmt_stop_server_listening
  62. (
  63. [in] handle_t binding_handle,
  64. [out] error_status_t *status
  65. );
  66. /*
  67. * R P C _ _ M G M T _ I N Q _ P R I N C _ N A M E
  68. */
  69. void rpc_mgmt_inq_princ_name
  70. (
  71. [in] handle_t binding_handle,
  72. [in] unsigned32 authn_proto,
  73. [in, range(0, 4096)] unsigned32 princ_name_size,
  74. [out, string, size_is(princ_name_size)]
  75. char princ_name[],
  76. [out] error_status_t *status
  77. );
  78. }