2003-11-24 01:24:29 +00:00
#include "idl_types.h"
/*
dcerpc remote management interface
*/
[
2004-10-27 04:48:41 +00:00
uuid("afa8bd80-7d8a-11c9-bef4-08002b102989"),
2004-08-16 19:03:22 +00:00
version(1.0),
2004-11-04 01:25:56 +00:00
endpoint("ncalrpc:", "ncacn_ip_tcp:[135]", "ncacn_np:[\\pipe\\epmapper]"),
2004-08-16 19:03:22 +00:00
helpstring("DCE/RPC Remote Management")
2003-11-24 01:24:29 +00:00
]
interface mgmt
{
typedef struct {
dcerpc_syntax_id *id;
} dcerpc_syntax_id_p;
typedef struct {
2004-05-25 16:24:13 +00:00
uint32 count;
2003-11-24 01:24:29 +00:00
[size_is(count)] dcerpc_syntax_id_p if_id[*];
} rpc_if_id_vector_t;
/***********************/
/* Function 0x00 */
2003-11-27 04:01:18 +00:00
WERROR mgmt_inq_if_ids (
[out] rpc_if_id_vector_t *if_id_vector
2003-11-24 01:24:29 +00:00
);
/***********************/
/* Function 0x01 */
2003-11-24 03:21:49 +00:00
2003-11-27 04:01:18 +00:00
/* these are the array indexes in the statistics array */
const int MGMT_STATS_CALLS_IN = 0;
const int MGMT_STATS_CALLS_OUT = 1;
const int MGMT_STATS_PKTS_IN = 2;
const int MGMT_STATS_PKTS_OUT = 3;
const int MGMT_STATS_ARRAY_MAX_SIZE = 4;
2003-11-24 03:21:49 +00:00
typedef struct {
uint32 count;
[size_is(count)] uint32 statistics[*];
} mgmt_statistics;
2003-11-27 04:01:18 +00:00
WERROR mgmt_inq_stats (
2003-11-24 03:21:49 +00:00
[in] uint32 max_count,
[in] uint32 unknown,
2003-11-27 04:01:18 +00:00
[out] mgmt_statistics statistics
2003-11-24 01:24:29 +00:00
);
2003-11-24 03:21:49 +00:00
2003-11-24 01:24:29 +00:00
/***********************/
/* Function 0x02 */
boolean32 mgmt_is_server_listening (
[out] error_status_t status
);
/***********************/
/* Function 0x03 */
2003-11-27 04:01:18 +00:00
WERROR mgmt_stop_server_listening ();
2003-11-24 01:24:29 +00:00
/***********************/
/* Function 0x04 */
2003-11-27 04:01:18 +00:00
WERROR mgmt_inq_princ_name (
[in] uint32 authn_proto,
[in] uint32 princ_name_size,
[out] ascstr princ_name
2003-11-24 01:24:29 +00:00
);
}