2003-11-21 13:14:17 +00:00
#include "idl_types.h"
2003-11-19 09:15:46 +00:00
/*
srvsvc interface definitions
*/
2006-11-06 22:54:49 +00:00
import "security.idl", "svcctl.idl";
2003-11-19 09:15:46 +00:00
2004-10-27 04:48:41 +00:00
[ uuid("4b324fc8-1670-01d3-1278-5a47bf6ee188"),
2003-11-19 09:15:46 +00:00
version(3.0),
2005-05-01 10:18:58 +00:00
endpoint("ncacn_np:[\\pipe\\srvsvc]", "ncacn_ip_tcp:", "ncalrpc:"),
2004-08-16 19:03:22 +00:00
pointer_default(unique),
2006-11-06 22:54:49 +00:00
helpstring("Server Service")
2003-11-19 09:15:46 +00:00
] interface srvsvc
{
2008-01-12 01:18:53 +01:00
typedef bitmap svcctl_ServerType svcctl_ServerType;
typedef bitmap security_secinfo security_secinfo;
2005-01-06 07:34:14 +00:00
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetCharDev */
/**************************/
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *device;
2003-12-20 21:50:51 +00:00
} srvsvc_NetCharDevInfo0;
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetCharDevInfo0 *array;
2003-12-20 21:50:51 +00:00
} srvsvc_NetCharDevCtr0;
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *device;
2003-12-20 21:50:51 +00:00
uint32 status;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *user;
2003-12-20 21:50:51 +00:00
uint32 time;
} srvsvc_NetCharDevInfo1;
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetCharDevInfo1 *array;
2003-12-20 21:50:51 +00:00
} srvsvc_NetCharDevCtr1;
typedef union {
[case(0)] srvsvc_NetCharDevInfo0 *info0;
[case(1)] srvsvc_NetCharDevInfo1 *info1;
[default] ;
} srvsvc_NetCharDevInfo;
typedef union {
[case(0)] srvsvc_NetCharDevCtr0 *ctr0;
[case(1)] srvsvc_NetCharDevCtr1 *ctr1;
[default] ;
} srvsvc_NetCharDevCtr;
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x00 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetCharDevEnum(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-20 21:50:51 +00:00
[in,out] uint32 level,
[in,out,switch_is(level)] srvsvc_NetCharDevCtr ctr,
[in] uint32 max_buffer,
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x01 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetCharDevGetInfo(
2008-10-20 19:50:49 +02:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 device_name[],
2003-12-20 21:50:51 +00:00
[in] uint32 level,
[out,switch_is(level)] srvsvc_NetCharDevInfo info
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x02 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetCharDevControl(
2008-10-20 19:50:49 +02:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 device_name[],
2003-12-20 21:50:51 +00:00
[in] uint32 opcode
2003-11-19 09:15:46 +00:00
);
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetCharDevQ */
/**************************/
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *device;
2003-12-20 21:50:51 +00:00
} srvsvc_NetCharDevQInfo0;
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetCharDevQInfo0 *array;
2003-12-20 21:50:51 +00:00
} srvsvc_NetCharDevQCtr0;
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *device;
2003-12-20 21:50:51 +00:00
uint32 priority;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *devices;
2003-12-20 21:50:51 +00:00
uint32 users;
uint32 num_ahead;
} srvsvc_NetCharDevQInfo1;
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetCharDevQInfo1 *array;
2003-12-20 21:50:51 +00:00
} srvsvc_NetCharDevQCtr1;
typedef union {
[case(0)] srvsvc_NetCharDevQInfo0 *info0;
[case(1)] srvsvc_NetCharDevQInfo1 *info1;
[default] ;
} srvsvc_NetCharDevQInfo;
typedef union {
[case(0)] srvsvc_NetCharDevQCtr0 *ctr0;
[case(1)] srvsvc_NetCharDevQCtr1 *ctr1;
[default] ;
} srvsvc_NetCharDevQCtr;
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x03 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetCharDevQEnum(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *user,
2003-12-20 21:50:51 +00:00
[in,out] uint32 level,
[in,out,switch_is(level)] srvsvc_NetCharDevQCtr ctr,
[in] uint32 max_buffer,
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x04 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetCharDevQGetInfo(
2008-10-20 19:50:49 +02:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 queue_name[],
[in] [string,charset(UTF16)] uint16 user[],
2003-12-20 21:50:51 +00:00
[in] uint32 level,
[out,switch_is(level)] srvsvc_NetCharDevQInfo info
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x05 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetCharDevQSetInfo(
2008-10-30 19:03:02 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 queue_name[],
2003-12-20 21:50:51 +00:00
[in] uint32 level,
[in,switch_is(level)] srvsvc_NetCharDevQInfo info,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *parm_error
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x06 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetCharDevQPurge(
2008-10-20 19:50:49 +02:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 queue_name[]
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x07 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetCharDevQPurgeSelf(
2008-10-20 19:50:49 +02:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 queue_name[],
[in] [string,charset(UTF16)] uint16 computer_name[]
2003-11-19 09:15:46 +00:00
);
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetConn */
/**************************/
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 conn_id;
2003-12-20 21:50:51 +00:00
} srvsvc_NetConnInfo0;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetConnInfo0 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetConnCtr0;
typedef struct {
uint32 conn_id;
uint32 conn_type;
uint32 num_open;
uint32 num_users;
uint32 conn_time;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *user;
2005-12-24 21:32:52 +00:00
[string,charset(UTF16)] uint16 *share;
2003-12-20 21:50:51 +00:00
} srvsvc_NetConnInfo1;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetConnInfo1 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetConnCtr1;
2003-11-19 22:10:20 +00:00
typedef union {
2003-11-20 00:57:59 +00:00
[case(0)] srvsvc_NetConnCtr0 *ctr0;
[case(1)] srvsvc_NetConnCtr1 *ctr1;
[default] ;
2003-11-19 09:15:46 +00:00
} srvsvc_NetConnCtr;
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 level;
[switch_is(level)] srvsvc_NetConnCtr ctr;
} srvsvc_NetConnInfoCtr;
2003-12-20 21:50:51 +00:00
/******************/
/* Function: 0x08 */
2003-11-19 09:15:46 +00:00
WERROR srvsvc_NetConnEnum(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *path,
2003-11-19 22:10:20 +00:00
[in,out] uint32 level,
[in,out,switch_is(level)] srvsvc_NetConnCtr ctr,
2003-12-20 21:50:51 +00:00
[in] uint32 max_buffer,
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetFile */
/**************************/
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 fid;
2003-12-20 21:50:51 +00:00
} srvsvc_NetFileInfo2;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetFileInfo2 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetFileCtr2;
typedef struct {
uint32 fid;
uint32 permissions;
uint32 num_locks;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *path;
[string,charset(UTF16)] uint16 *user;
2003-12-20 21:50:51 +00:00
} srvsvc_NetFileInfo3;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetFileInfo3 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetFileCtr3;
2003-12-20 21:50:51 +00:00
typedef union {
[case(2)] srvsvc_NetFileInfo2 *info2;
[case(3)] srvsvc_NetFileInfo3 *info3;
[default] ;
} srvsvc_NetFileInfo;
2003-11-19 22:10:20 +00:00
typedef union {
2003-11-20 00:57:59 +00:00
[case(2)] srvsvc_NetFileCtr2 *ctr2;
[case(3)] srvsvc_NetFileCtr3 *ctr3;
[default] ;
2003-11-19 09:15:46 +00:00
} srvsvc_NetFileCtr;
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 level;
[switch_is(level)] srvsvc_NetFileCtr ctr;
} srvsvc_NetFileInfoCtr;
2003-12-20 21:50:51 +00:00
/******************/
/* Function: 0x09 */
2003-11-19 09:15:46 +00:00
WERROR srvsvc_NetFileEnum(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *path,
[in,unique] [string,charset(UTF16)] uint16 *user,
2003-12-20 21:50:51 +00:00
[in,out] uint32 level,
2003-11-19 22:10:20 +00:00
[in,out,switch_is(level)] srvsvc_NetFileCtr ctr,
2003-12-20 21:50:51 +00:00
[in] uint32 max_buffer,
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x0a */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetFileGetInfo(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-20 21:50:51 +00:00
[in] uint32 fid,
[in] uint32 level,
[out,switch_is(level)] srvsvc_NetFileInfo info
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x0b */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetFileClose(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-20 21:50:51 +00:00
[in] uint32 fid
2003-11-19 09:15:46 +00:00
);
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetSess */
/**************************/
2003-11-19 09:15:46 +00:00
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *client;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSessInfo0;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetSessInfo0 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetSessCtr0;
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *client;
[string,charset(UTF16)] uint16 *user;
2003-11-19 09:15:46 +00:00
uint32 num_open;
uint32 time;
uint32 idle_time;
uint32 user_flags;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSessInfo1;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetSessInfo1 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetSessCtr1;
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *client;
[string,charset(UTF16)] uint16 *user;
2003-11-19 09:15:46 +00:00
uint32 num_open;
uint32 time;
uint32 idle_time;
uint32 user_flags;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *client_type;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSessInfo2;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetSessInfo2 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetSessCtr2;
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *client;
[string,charset(UTF16)] uint16 *user;
2003-11-19 09:15:46 +00:00
uint32 time;
uint32 idle_time;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSessInfo10;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetSessInfo10 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetSessCtr10;
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *client;
[string,charset(UTF16)] uint16 *user;
2003-11-19 09:15:46 +00:00
uint32 num_open;
uint32 time;
uint32 idle_time;
uint32 user_flags;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *client_type;
[string,charset(UTF16)] uint16 *transport;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSessInfo502;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetSessInfo502 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetSessCtr502;
2003-11-19 22:10:20 +00:00
typedef union {
2003-11-20 00:57:59 +00:00
[case(0)] srvsvc_NetSessCtr0 *ctr0;
[case(1)] srvsvc_NetSessCtr1 *ctr1;
[case(2)] srvsvc_NetSessCtr2 *ctr2;
[case(10)] srvsvc_NetSessCtr10 *ctr10;
[case(502)] srvsvc_NetSessCtr502 *ctr502;
[default] ;
2003-11-19 09:15:46 +00:00
} srvsvc_NetSessCtr;
2003-12-20 21:50:51 +00:00
/******************/
/* Function: 0x0c */
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 level;
[switch_is(level)] srvsvc_NetSessCtr ctr;
} srvsvc_NetSessInfoCtr;
2003-11-19 09:15:46 +00:00
WERROR srvsvc_NetSessEnum(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *client,
[in,unique] [string,charset(UTF16)] uint16 *user,
2003-11-19 22:10:20 +00:00
[in,out] uint32 level,
[in,out,switch_is(level)] srvsvc_NetSessCtr ctr,
2003-12-20 21:50:51 +00:00
[in] uint32 max_buffer,
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x0d */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetSessDel(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *client,
[in,unique] [string,charset(UTF16)] uint16 *user
2003-11-19 09:15:46 +00:00
);
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetShare */
/**************************/
2004-04-26 00:32:29 +00:00
/* share types */
2005-01-06 07:34:14 +00:00
const uint32 STYPE_TEMPORARY = 0x40000000; /* share is a temporary one */
const uint32 STYPE_HIDDEN = 0x80000000; /* share is a hidden one */
typedef [v1_enum, flag(NDR_PAHEX)] enum {
STYPE_DISKTREE = 0,
STYPE_DISKTREE_TEMPORARY = STYPE_DISKTREE|STYPE_TEMPORARY,
STYPE_DISKTREE_HIDDEN = STYPE_DISKTREE|STYPE_HIDDEN,
STYPE_PRINTQ = 1,
STYPE_PRINTQ_TEMPORARY = STYPE_PRINTQ|STYPE_TEMPORARY,
STYPE_PRINTQ_HIDDEN = STYPE_PRINTQ|STYPE_HIDDEN,
STYPE_DEVICE = 2, /* Serial device */
STYPE_DEVICE_TEMPORARY = STYPE_DEVICE|STYPE_TEMPORARY,
STYPE_DEVICE_HIDDEN = STYPE_DEVICE|STYPE_HIDDEN,
STYPE_IPC = 3, /* Interprocess communication (IPC) */
STYPE_IPC_TEMPORARY = STYPE_IPC|STYPE_TEMPORARY,
STYPE_IPC_HIDDEN = STYPE_IPC|STYPE_HIDDEN
} srvsvc_ShareType;
2004-04-26 00:32:29 +00:00
2003-11-19 09:15:46 +00:00
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *name;
2003-12-20 21:50:51 +00:00
} srvsvc_NetShareInfo0;
2003-11-19 09:15:46 +00:00
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 count;
[size_is(count)] srvsvc_NetShareInfo0 *array;
} srvsvc_NetShareCtr0;
2003-11-19 09:15:46 +00:00
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *name;
2005-01-06 07:34:14 +00:00
srvsvc_ShareType type;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *comment;
2003-12-20 21:50:51 +00:00
} srvsvc_NetShareInfo1;
2003-11-19 09:15:46 +00:00
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 count;
[size_is(count)] srvsvc_NetShareInfo1 *array;
} srvsvc_NetShareCtr1;
2003-11-19 09:15:46 +00:00
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *name;
2005-01-06 07:34:14 +00:00
srvsvc_ShareType type;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *comment;
2003-11-19 09:15:46 +00:00
uint32 permissions;
uint32 max_users;
uint32 current_users;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *path;
[string,charset(UTF16)] uint16 *password;
2003-12-20 21:50:51 +00:00
} srvsvc_NetShareInfo2;
2003-11-19 09:15:46 +00:00
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 count;
[size_is(count)] srvsvc_NetShareInfo2 *array;
} srvsvc_NetShareCtr2;
2003-11-19 09:15:46 +00:00
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *name;
2005-01-06 07:34:14 +00:00
srvsvc_ShareType type;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *comment;
2003-11-19 09:15:46 +00:00
uint32 csc_policy;
2003-12-20 21:50:51 +00:00
} srvsvc_NetShareInfo501;
2003-11-19 09:15:46 +00:00
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 count;
[size_is(count)] srvsvc_NetShareInfo501 *array;
} srvsvc_NetShareCtr501;
2003-11-19 09:15:46 +00:00
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *name;
2005-01-06 07:34:14 +00:00
srvsvc_ShareType type;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *comment;
2003-11-19 09:15:46 +00:00
uint32 permissions;
2008-10-30 19:06:58 +01:00
uint32 max_users;
2003-11-19 09:15:46 +00:00
uint32 current_users;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *path;
[string,charset(UTF16)] uint16 *password;
2008-10-29 21:04:31 +01:00
sec_desc_buf sd_buf;
2003-12-20 21:50:51 +00:00
} srvsvc_NetShareInfo502;
2003-11-19 09:15:46 +00:00
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 count;
[size_is(count)] srvsvc_NetShareInfo502 *array;
} srvsvc_NetShareCtr502;
2004-07-16 08:53:20 +00:00
typedef struct {
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *comment;
2004-07-16 08:53:20 +00:00
} srvsvc_NetShareInfo1004;
2005-12-24 21:32:52 +00:00
typedef struct {
2008-10-29 13:31:02 +01:00
uint32 count;
[size_is(count)] srvsvc_NetShareInfo1004 *array;
} srvsvc_NetShareCtr1004;
2005-12-24 21:32:52 +00:00
2006-09-18 20:52:26 +00:00
typedef bitmap {
SHARE_1005_IN_DFS = 0x00000001,
SHARE_1005_DFS_ROOT = 0x00000002
} NetShareInfo1005Flags;
const uint32 SHARE_1005_CSC_POLICY_MASK = 0x00000030;
const uint32 SHARE_1005_CSC_POLICY_SHIFT = 4;
2004-07-16 08:53:20 +00:00
typedef struct {
2006-09-18 20:52:26 +00:00
NetShareInfo1005Flags dfs_flags;
2004-07-16 08:53:20 +00:00
} srvsvc_NetShareInfo1005;
2006-09-19 15:39:21 +00:00
typedef struct {
uint32 count;
[size_is(count)] srvsvc_NetShareInfo1005 *array;
} srvsvc_NetShareCtr1005;
2008-10-29 13:31:02 +01:00
typedef struct {
2008-10-30 19:06:58 +01:00
uint32 max_users;
2008-10-29 13:31:02 +01:00
} srvsvc_NetShareInfo1006;
2006-09-19 15:39:21 +00:00
typedef struct {
uint32 count;
[size_is(count)] srvsvc_NetShareInfo1006 *array;
} srvsvc_NetShareCtr1006;
2005-12-24 21:32:52 +00:00
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 flags;
[string,charset(UTF16)] uint16 *alternate_directory_name;
} srvsvc_NetShareInfo1007;
2005-12-24 21:32:52 +00:00
typedef struct {
uint32 count;
[size_is(count)] srvsvc_NetShareInfo1007 *array;
} srvsvc_NetShareCtr1007;
typedef struct {
uint32 count;
2006-07-17 09:48:06 +00:00
[size_is(count)] sec_desc_buf *array;
2005-12-24 21:32:52 +00:00
} srvsvc_NetShareCtr1501;
2008-10-29 13:31:02 +01:00
typedef union {
[case(0)] srvsvc_NetShareInfo0 *info0;
[case(1)] srvsvc_NetShareInfo1 *info1;
[case(2)] srvsvc_NetShareInfo2 *info2;
[case(501)] srvsvc_NetShareInfo501 *info501;
[case(502)] srvsvc_NetShareInfo502 *info502;
[case(1004)] srvsvc_NetShareInfo1004 *info1004;
[case(1005)] srvsvc_NetShareInfo1005 *info1005;
[case(1006)] srvsvc_NetShareInfo1006 *info1006;
[case(1007)] srvsvc_NetShareInfo1007 *info1007;
[case(1501)] sec_desc_buf *info1501;
[default] ;
} srvsvc_NetShareInfo;
2003-11-19 22:10:20 +00:00
typedef union {
2003-11-20 00:57:59 +00:00
[case(0)] srvsvc_NetShareCtr0 *ctr0;
[case(1)] srvsvc_NetShareCtr1 *ctr1;
[case(2)] srvsvc_NetShareCtr2 *ctr2;
[case(501)] srvsvc_NetShareCtr501 *ctr501;
[case(502)] srvsvc_NetShareCtr502 *ctr502;
2005-12-24 21:32:52 +00:00
[case(1004)] srvsvc_NetShareCtr1004 *ctr1004;
[case(1005)] srvsvc_NetShareCtr1005 *ctr1005;
[case(1006)] srvsvc_NetShareCtr1006 *ctr1006;
[case(1007)] srvsvc_NetShareCtr1007 *ctr1007;
[case(1501)] srvsvc_NetShareCtr1501 *ctr1501;
2003-11-20 00:57:59 +00:00
[default] ;
2003-12-15 09:18:53 +00:00
} srvsvc_NetShareCtr;
2003-11-19 22:10:20 +00:00
2008-10-29 13:31:02 +01:00
typedef struct {
uint32 level;
[switch_is(level)] srvsvc_NetShareCtr ctr;
} srvsvc_NetShareInfoCtr;
2003-12-20 21:50:51 +00:00
/******************/
/* Function: 0x0e */
WERROR srvsvc_NetShareAdd(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-20 21:50:51 +00:00
[in] uint32 level,
[in,switch_is(level)] srvsvc_NetShareInfo info,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *parm_error
2003-12-20 21:50:51 +00:00
);
/******************/
/* Function: 0x0f */
2003-11-20 05:34:02 +00:00
WERROR srvsvc_NetShareEnumAll (
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-20 21:50:51 +00:00
[in,out] uint32 level,
2003-12-15 09:18:53 +00:00
[in,out,switch_is(level)] srvsvc_NetShareCtr ctr,
2003-12-20 21:50:51 +00:00
[in] uint32 max_buffer,
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x10 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetShareGetInfo(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 share_name[],
2003-12-20 21:50:51 +00:00
[in] uint32 level,
[out,switch_is(level)] srvsvc_NetShareInfo info
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x11 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetShareSetInfo(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 share_name[],
2003-12-20 21:50:51 +00:00
[in] uint32 level,
[in,switch_is(level)] srvsvc_NetShareInfo info,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *parm_error
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x12 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetShareDel(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 share_name[],
2003-12-20 21:50:51 +00:00
[in] uint32 reserved
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x13 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetShareDelSticky(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 share_name[],
2003-12-20 21:50:51 +00:00
[in] uint32 reserved
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x14 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetShareCheck(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-10-16 18:54:31 +00:00
[in] [string,charset(UTF16)] uint16 device_name[],
2005-01-06 07:34:14 +00:00
[out] srvsvc_ShareType type
2003-11-19 09:15:46 +00:00
);
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetSrv */
/**************************/
2006-03-22 12:15:11 +00:00
typedef [public,v1_enum] enum {
2005-12-06 03:53:51 +00:00
PLATFORM_ID_DOS = 300,
PLATFORM_ID_OS2 = 400,
PLATFORM_ID_NT = 500,
PLATFORM_ID_OSF = 600,
PLATFORM_ID_VMS = 700
2005-01-06 07:34:14 +00:00
} srvsvc_PlatformId;
2003-12-20 21:50:51 +00:00
typedef struct {
2005-01-06 07:34:14 +00:00
srvsvc_PlatformId platform_id;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *server_name;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo100;
typedef struct {
2005-01-06 07:34:14 +00:00
srvsvc_PlatformId platform_id;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *server_name;
2004-12-31 05:34:31 +00:00
uint32 version_major;
uint32 version_minor;
2005-01-06 07:34:14 +00:00
svcctl_ServerType server_type;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *comment;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo101;
typedef struct {
2005-01-06 07:34:14 +00:00
srvsvc_PlatformId platform_id;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *server_name;
2006-09-10 00:41:15 +00:00
uint32 version_major;
uint32 version_minor;
2005-01-06 07:34:14 +00:00
svcctl_ServerType server_type;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *comment;
2003-12-20 21:50:51 +00:00
uint32 users;
uint32 disc;
uint32 hidden;
uint32 announce;
uint32 anndelta;
2006-09-10 00:41:15 +00:00
uint32 licenses;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *userpath;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo102;
typedef struct {
uint32 ulist_mtime;
uint32 glist_mtime;
uint32 alist_mtime;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *alerts;
2003-12-20 21:50:51 +00:00
uint32 security;
uint32 numadmin;
uint32 lanmask;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *guestaccount;
2003-12-20 21:50:51 +00:00
uint32 chdevs;
uint32 chdevqs;
uint32 chdevjobs;
uint32 connections;
uint32 shares;
uint32 openfiles;
uint32 sessopen;
uint32 sesssvc;
uint32 sessreqs;
uint32 opensearch;
uint32 activelocks;
uint32 sizereqbufs;
uint32 numbigbufs;
uint32 numfiletasks;
uint32 alertsched;
2005-12-24 21:32:52 +00:00
uint32 erroralert;
2003-12-20 21:50:51 +00:00
uint32 logonalert;
uint32 accessalert;
uint32 diskalert;
uint32 netioalert;
uint32 maxaudits;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *srvheuristics;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo402;
typedef struct {
uint32 ulist_mtime;
uint32 glist_mtime;
uint32 alist_mtime;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *alerts;
2003-12-20 21:50:51 +00:00
uint32 security;
uint32 numadmin;
uint32 lanmask;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *guestaccount;
2003-12-20 21:50:51 +00:00
uint32 chdevs;
uint32 chdevqs;
uint32 chdevjobs;
uint32 connections;
uint32 shares;
uint32 openfiles;
uint32 sessopen;
uint32 sesssvc;
uint32 sessreqs;
uint32 opensearch;
uint32 activelocks;
uint32 sizereqbufs;
uint32 numbigbufs;
uint32 numfiletasks;
uint32 alertsched;
uint32 eroralert;
uint32 logonalert;
uint32 accessalert;
uint32 diskalert;
uint32 netioalert;
uint32 maxaudits;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *srvheuristics;
2003-12-20 21:50:51 +00:00
uint32 auditedevents;
uint32 auditprofile;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *autopath;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo403;
typedef struct {
uint32 sessopen;
uint32 sesssvc;
uint32 opensearch;
uint32 sizereqbufs;
uint32 initworkitems;
uint32 maxworkitems;
uint32 rawworkitems;
uint32 irpstacksize;
uint32 maxrawbuflen;
uint32 sessusers;
uint32 sessconns;
uint32 maxpagedmemoryusage;
uint32 maxnonpagedmemoryusage;
uint32 enablesoftcompat;
uint32 enableforcedlogoff;
uint32 timesource;
uint32 acceptdownlevelapis;
uint32 lmannounce;
} srvsvc_NetSrvInfo502;
typedef struct{
uint32 sessopen;
uint32 sesssvc;
uint32 opensearch;
uint32 sizereqbufs;
uint32 initworkitems;
uint32 maxworkitems;
uint32 rawworkitems;
uint32 irpstacksize;
uint32 maxrawbuflen;
uint32 sessusers;
uint32 sessconns;
uint32 maxpagedmemoryusage;
uint32 maxnonpagedmemoryusage;
uint32 enablesoftcompat;
uint32 enableforcedlogoff;
uint32 timesource;
uint32 acceptdownlevelapis;
uint32 lmannounce;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *domain;
2003-12-20 21:50:51 +00:00
uint32 maxcopyreadlen;
uint32 maxcopywritelen;
uint32 minkeepsearch;
uint32 maxkeepsearch;
uint32 minkeepcomplsearch;
uint32 maxkeepcomplsearch;
uint32 threadcountadd;
uint32 numlockthreads;
uint32 scavtimeout;
uint32 minrcvqueue;
uint32 minfreeworkitems;
uint32 xactmemsize;
uint32 threadpriority;
uint32 maxmpxct;
uint32 oplockbreakwait;
uint32 oplockbreakresponsewait;
uint32 enableoplocks;
uint32 enableoplockforceclose;
uint32 enablefcbopens;
uint32 enableraw;
uint32 enablesharednetdrives;
uint32 minfreeconnections;
uint32 maxfreeconnections;
} srvsvc_NetSrvInfo503;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 sessopen;
uint32 sesssvc;
uint32 opensearch;
uint32 sizereqbufs;
uint32 initworkitems;
uint32 maxworkitems;
uint32 rawworkitems;
uint32 irpstacksize;
uint32 maxrawbuflen;
uint32 sessusers;
uint32 sessconns;
uint32 maxpagedmemoryusage;
uint32 maxnonpagedmemoryusage;
uint32 enablesoftcompat;
uint32 enableforcedlogoff;
uint32 timesource;
uint32 acceptdownlevelapis;
uint32 lmannounce;
[string,charset(UTF16)] uint16 *domain;
uint32 maxcopyreadlen;
uint32 maxcopywritelen;
uint32 minkeepsearch;
uint32 minkeepcomplsearch;
uint32 maxkeepcomplsearch;
uint32 threadcountadd;
uint32 numlockthreads;
uint32 scavtimeout;
uint32 minrcvqueue;
uint32 minfreeworkitems;
uint32 xactmemsize;
uint32 threadpriority;
uint32 maxmpxct;
uint32 oplockbreakwait;
uint32 oplockbreakresponsewait;
uint32 enableoplocks;
uint32 enableoplockforceclose;
uint32 enablefcbopens;
uint32 enableraw;
uint32 enablesharednetdrives;
uint32 minfreeconnections;
uint32 maxfreeconnections;
uint32 initsesstable;
uint32 initconntable;
uint32 initfiletable;
uint32 initsearchtable;
uint32 alertsched;
uint32 errortreshold;
uint32 networkerrortreshold;
uint32 diskspacetreshold;
uint32 reserved;
uint32 maxlinkdelay;
uint32 minlinkthroughput;
uint32 linkinfovalidtime;
uint32 scavqosinfoupdatetime;
uint32 maxworkitemidletime;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo599;
typedef struct{
2005-12-24 21:32:52 +00:00
[string,charset(UTF16)] uint16 *comment;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1005;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 disc;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1010;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 hidden;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1016;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 announce;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1017;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 anndelta;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1018;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 users;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1107;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 sessopens;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1501;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 sessvcs;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1502;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 opensearch;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1503;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxworkitems;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1506;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxrawbuflen;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1509;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 sessusers;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1510;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 sesscons;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1511;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxnonpagedmemoryusage;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1512;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxpagedmemoryusage;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1513;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 enablesoftcompat;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1514;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 enableforcedlogoff;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1515;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 timesource;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1516;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 lmannounce;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1518;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxcopyreadlen;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1520;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxcopywritelen;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1521;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 minkeepsearch;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1522;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxkeepsearch;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1523;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 minkeepcomplsearch;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1524;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxkeepcomplsearch;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1525;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 scavtimeout;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1528;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 minrcvqueue;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1529;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 minfreeworkitems;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1530;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxmpxct;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1533;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 oplockbreakwait;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1534;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 oplockbreakresponsewait;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1535;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 enableoplocks;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1536;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 enableoplockforceclose;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1537;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 enablefcbopens;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1538;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 enableraw;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1539;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 enablesharednetdrives;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1540;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 minfreeconnections;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1541;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxfreeconnections;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1542;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 initsesstable;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1543;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 initconntable;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1544;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 initfiletable;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1545;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 initsearchtable;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1546;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 alertsched;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1547;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 errortreshold;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1548;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 networkerrortreshold;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1549;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 diskspacetreshold;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1550;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxlinkdelay;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1552;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 minlinkthroughput;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1553;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 linkinfovalidtime;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1554;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 scavqosinfoupdatetime;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1555;
typedef struct{
2005-12-24 21:32:52 +00:00
uint32 maxworkitemidletime;
2003-12-20 21:50:51 +00:00
} srvsvc_NetSrvInfo1556;
typedef union{
[case(100)] srvsvc_NetSrvInfo100 *info100;
[case(101)] srvsvc_NetSrvInfo101 *info101;
[case(102)] srvsvc_NetSrvInfo102 *info102;
[case(402)] srvsvc_NetSrvInfo402 *info402;
[case(403)] srvsvc_NetSrvInfo403 *info403;
[case(502)] srvsvc_NetSrvInfo502 *info502;
[case(503)] srvsvc_NetSrvInfo503 *info503;
[case(599)] srvsvc_NetSrvInfo599 *info599;
[case(1005)] srvsvc_NetSrvInfo1005 *info1005;
[case(1010)] srvsvc_NetSrvInfo1010 *info1010;
[case(1016)] srvsvc_NetSrvInfo1016 *info1016;
[case(1017)] srvsvc_NetSrvInfo1017 *info1017;
[case(1018)] srvsvc_NetSrvInfo1018 *info1018;
[case(1107)] srvsvc_NetSrvInfo1107 *info1107;
[case(1501)] srvsvc_NetSrvInfo1501 *info1501;
[case(1502)] srvsvc_NetSrvInfo1502 *info1502;
[case(1503)] srvsvc_NetSrvInfo1503 *info1503;
[case(1506)] srvsvc_NetSrvInfo1506 *info1506;
[case(1509)] srvsvc_NetSrvInfo1509 *info1509;
[case(1510)] srvsvc_NetSrvInfo1510 *info1510;
[case(1511)] srvsvc_NetSrvInfo1511 *info1511;
[case(1512)] srvsvc_NetSrvInfo1512 *info1512;
[case(1513)] srvsvc_NetSrvInfo1513 *info1513;
[case(1514)] srvsvc_NetSrvInfo1514 *info1514;
[case(1515)] srvsvc_NetSrvInfo1515 *info1515;
[case(1516)] srvsvc_NetSrvInfo1516 *info1516;
[case(1518)] srvsvc_NetSrvInfo1518 *info1518;
[case(1520)] srvsvc_NetSrvInfo1520 *info1520;
[case(1521)] srvsvc_NetSrvInfo1521 *info1521;
[case(1522)] srvsvc_NetSrvInfo1522 *info1522;
[case(1523)] srvsvc_NetSrvInfo1523 *info1523;
[case(1524)] srvsvc_NetSrvInfo1524 *info1524;
[case(1525)] srvsvc_NetSrvInfo1525 *info1525;
[case(1528)] srvsvc_NetSrvInfo1528 *info1528;
[case(1529)] srvsvc_NetSrvInfo1529 *info1529;
[case(1530)] srvsvc_NetSrvInfo1530 *info1530;
[case(1533)] srvsvc_NetSrvInfo1533 *info1533;
[case(1534)] srvsvc_NetSrvInfo1534 *info1534;
[case(1535)] srvsvc_NetSrvInfo1535 *info1535;
[case(1536)] srvsvc_NetSrvInfo1536 *info1536;
[case(1537)] srvsvc_NetSrvInfo1537 *info1537;
[case(1538)] srvsvc_NetSrvInfo1538 *info1538;
[case(1539)] srvsvc_NetSrvInfo1539 *info1539;
[case(1540)] srvsvc_NetSrvInfo1540 *info1540;
[case(1541)] srvsvc_NetSrvInfo1541 *info1541;
[case(1542)] srvsvc_NetSrvInfo1542 *info1542;
[case(1543)] srvsvc_NetSrvInfo1543 *info1543;
[case(1544)] srvsvc_NetSrvInfo1544 *info1544;
[case(1545)] srvsvc_NetSrvInfo1545 *info1545;
[case(1546)] srvsvc_NetSrvInfo1546 *info1546;
[case(1547)] srvsvc_NetSrvInfo1547 *info1547;
[case(1548)] srvsvc_NetSrvInfo1548 *info1548;
[case(1549)] srvsvc_NetSrvInfo1549 *info1549;
[case(1550)] srvsvc_NetSrvInfo1550 *info1550;
[case(1552)] srvsvc_NetSrvInfo1552 *info1552;
[case(1553)] srvsvc_NetSrvInfo1553 *info1553;
[case(1554)] srvsvc_NetSrvInfo1554 *info1554;
[case(1555)] srvsvc_NetSrvInfo1555 *info1555;
[case(1556)] srvsvc_NetSrvInfo1556 *info1556;
[default];
} srvsvc_NetSrvInfo;
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x15 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetSrvGetInfo(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-20 21:50:51 +00:00
[in] uint32 level,
[out,switch_is(level)] srvsvc_NetSrvInfo info
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x16 */
2003-12-20 21:50:51 +00:00
WERROR srvsvc_NetSrvSetInfo(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-20 21:50:51 +00:00
[in] uint32 level,
[in,switch_is(level)] srvsvc_NetSrvInfo info,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *parm_error
2003-11-19 09:15:46 +00:00
);
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetDisk */
/**************************/
2003-11-19 09:15:46 +00:00
typedef struct {
2008-02-19 16:40:48 +01:00
/*
* In theory this should be:
* [charset(UTF16),string] uint16 annotation[3]
* But midl treats this as:
* [charset(UTF16),string] uint16 annotation[]
* and pidl doesn't support this yet
*/
[value(0)] uint32 __disk_offset;
[value(strlen(disk)+1)] uint32 __disk_length;
[charset(UTF16)] uint16 disk[__disk_length];
2003-12-20 21:50:51 +00:00
} srvsvc_NetDiskInfo0;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2006-09-10 03:58:00 +00:00
[size_is(count), length_is(count)] srvsvc_NetDiskInfo0 *disks;
2005-12-24 21:32:52 +00:00
} srvsvc_NetDiskInfo;
2003-11-19 09:15:46 +00:00
2003-12-20 21:50:51 +00:00
/******************/
/* Function: 0x17 */
2003-11-19 09:15:46 +00:00
WERROR srvsvc_NetDiskEnum(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-15 10:21:09 +00:00
[in] uint32 level,
2006-09-10 03:58:00 +00:00
[in,out] srvsvc_NetDiskInfo info,
2005-12-24 21:32:52 +00:00
[in] uint32 maxlen,
2003-12-20 21:50:51 +00:00
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
2004-07-19 06:49:53 +00:00
/**************************/
/* srvsvc_NetStatistics */
/**************************/
2005-12-24 21:32:52 +00:00
typedef struct {
uint32 start;
uint32 fopens;
uint32 devopens;
uint32 jobsqueued;
uint32 sopens;
uint32 stimeouts;
uint32 serrorout;
uint32 pwerrors;
uint32 permerrors;
uint32 syserrors;
uint32 bytessent_low;
uint32 bytessent_high;
uint32 bytesrcvd_low;
uint32 bytesrcvd_high;
uint32 avresponse;
uint32 reqbufneed;
uint32 bigbufneed;
} srvsvc_Statistics;
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x18 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetServerStatisticsGet(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *service,
2005-12-24 21:32:52 +00:00
[in] uint32 level,
[in] uint32 options,
[out] srvsvc_Statistics stat
2003-11-19 09:15:46 +00:00
);
2003-12-20 21:50:51 +00:00
/**************************/
/* srvsvc_NetTransport */
2004-07-16 07:20:15 +00:00
/**************************/
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 vcs;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *name;
2005-12-24 21:32:52 +00:00
[size_is(addr_len)] uint8 *addr;
2003-11-19 09:15:46 +00:00
uint32 addr_len;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *net_addr;
2003-12-20 21:50:51 +00:00
} srvsvc_NetTransportInfo0;
2003-11-19 09:15:46 +00:00
2005-12-24 21:32:52 +00:00
/******************/
/* Function: 0x19 */
WERROR srvsvc_NetTransportAdd(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-12-24 21:32:52 +00:00
[in] uint32 level,
[in,switch_is(level)] srvsvc_NetTransportInfo info
);
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetTransportInfo0 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetTransportCtr0;
typedef struct {
uint32 vcs;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *name;
2005-12-24 21:32:52 +00:00
[size_is(addr_len)] uint8 *addr;
2003-11-19 09:15:46 +00:00
uint32 addr_len;
2005-10-16 18:54:31 +00:00
[string,charset(UTF16)] uint16 *net_addr;
[string,charset(UTF16)] uint16 *domain;
2003-12-20 21:50:51 +00:00
} srvsvc_NetTransportInfo1;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetTransportInfo1 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetTransportCtr1;
typedef struct {
2005-12-24 21:32:52 +00:00
uint32 vcs;
[string,charset(UTF16)] uint16 *name;
[size_is(addr_len)] uint8 *addr;
uint32 addr_len;
[string,charset(UTF16)] uint16 *net_addr;
[string,charset(UTF16)] uint16 *domain;
uint32 unknown;
2003-12-20 21:50:51 +00:00
} srvsvc_NetTransportInfo2;
2003-11-19 09:15:46 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetTransportInfo2 *array;
2003-11-19 09:15:46 +00:00
} srvsvc_NetTransportCtr2;
2003-12-15 09:18:53 +00:00
typedef struct {
2005-12-24 21:32:52 +00:00
uint32 vcs;
[string,charset(UTF16)] uint16 *name;
[size_is(addr_len)] uint8 *addr;
uint32 addr_len;
[string,charset(UTF16)] uint16 *net_addr;
[string,charset(UTF16)] uint16 *domain;
uint32 unknown1;
uint32 unknown2;
uint8 unknown3[256];
2003-12-20 21:50:51 +00:00
} srvsvc_NetTransportInfo3;
2003-12-15 09:18:53 +00:00
typedef struct {
uint32 count;
2005-05-27 15:49:15 +00:00
[size_is(count)] srvsvc_NetTransportInfo3 *array;
2003-12-15 09:18:53 +00:00
} srvsvc_NetTransportCtr3;
2003-11-19 22:10:20 +00:00
typedef union {
2003-11-20 00:57:59 +00:00
[case(0)] srvsvc_NetTransportCtr0 *ctr0;
[case(1)] srvsvc_NetTransportCtr1 *ctr1;
[case(2)] srvsvc_NetTransportCtr2 *ctr2;
2003-12-15 09:18:53 +00:00
[case(3)] srvsvc_NetTransportCtr3 *ctr3;
[default];
2003-11-19 09:15:46 +00:00
} srvsvc_NetTransportCtr;
2003-11-19 22:10:20 +00:00
2003-12-20 21:50:51 +00:00
/******************/
/* Function: 0x1a */
2003-11-19 09:15:46 +00:00
WERROR srvsvc_NetTransportEnum(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-11-19 22:10:20 +00:00
[in,out] uint32 level,
2005-12-24 21:32:52 +00:00
[in,out,switch_is(level)] srvsvc_NetTransportCtr transports,
2003-12-20 21:50:51 +00:00
[in] uint32 max_buffer,
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x1b */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetTransportDel(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2006-09-25 04:04:40 +00:00
[in] uint32 level,
[in,switch_is(level)] srvsvc_NetTransportInfo info
2003-11-19 09:15:46 +00:00
);
2004-07-19 06:14:00 +00:00
/**************************/
/* srvsvc_NetRemoteTOD */
/**************************/
typedef struct {
2004-12-06 11:10:15 +00:00
uint32 elapsed; /* time(NULL) */
uint32 msecs; /* milliseconds till system reboot (uptime) */
2004-07-19 06:14:00 +00:00
uint32 hours;
uint32 mins;
uint32 secs;
uint32 hunds;
2004-12-06 11:10:15 +00:00
int32 timezone; /* in minutes */
uint32 tinterval; /* clock tick interval in 0.0001 second units; 310 on windows */
2004-07-19 06:14:00 +00:00
uint32 day;
uint32 month;
uint32 year;
uint32 weekday;
} srvsvc_NetRemoteTODInfo;
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x1c */
2004-07-19 06:14:00 +00:00
WERROR srvsvc_NetRemoteTOD(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2008-10-29 14:01:04 +01:00
[out,ref] srvsvc_NetRemoteTODInfo **info
2003-11-19 09:15:46 +00:00
);
2004-07-16 07:20:15 +00:00
/**************************/
/* srvsvc_NetServiceBits */
/**************************/
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x1d */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetSetServiceBits(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *transport,
2005-12-24 21:32:52 +00:00
[in] uint32 servicebits,
[in] uint32 updateimmediately
2003-11-19 09:15:46 +00:00
);
2004-07-16 07:20:15 +00:00
/**************************/
/* srvsvc_NetPath */
/**************************/
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x1e */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetPathType(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-12-24 21:32:52 +00:00
[in] [string,charset(UTF16)] uint16 path[],
[in] uint32 pathflags,
[out] uint32 pathtype
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x1f */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetPathCanonicalize(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-12-24 21:32:52 +00:00
[in] [string,charset(UTF16)] uint16 path[],
[out] [size_is(maxbuf)] uint8 can_path[],
[in] uint32 maxbuf,
[in] [string,charset(UTF16)] uint16 prefix[],
[in,out] uint32 pathtype,
[in] uint32 pathflags
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x20 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetPathCompare(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-12-24 21:32:52 +00:00
[in] [string,charset(UTF16)] uint16 path1[],
[in] [string,charset(UTF16)] uint16 path2[],
[in] uint32 pathtype,
[in] uint32 pathflags
2003-11-19 09:15:46 +00:00
);
2004-07-16 07:20:15 +00:00
/**************************/
/* srvsvc_NetName */
/**************************/
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x21 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetNameValidate(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2006-09-10 21:51:46 +00:00
[in] [string,charset(UTF16)] uint16 name[],
[in] uint32 name_type,
[in] uint32 flags
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x22 */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRPRNAMECANONICALIZE(
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x23 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetPRNameCompare(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2006-09-10 21:51:46 +00:00
[in] [string,charset(UTF16)] uint16 name1[],
[in] [string,charset(UTF16)] uint16 name2[],
[in] uint32 name_type,
[in] uint32 flags
2003-11-19 09:15:46 +00:00
);
2004-07-16 07:20:15 +00:00
/**************************/
/* srvsvc_NetShare ... */
/**************************/
2003-11-19 09:15:46 +00:00
/******************/
/* Function: 0x24 */
2003-11-19 19:32:28 +00:00
/* Note, there must be some way to return entries read vs
total entries ... */
2003-11-19 09:15:46 +00:00
WERROR srvsvc_NetShareEnum(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2003-12-15 09:18:53 +00:00
[in,out] uint32 level,
[in,out,switch_is(level)] srvsvc_NetShareCtr ctr,
2003-12-20 21:50:51 +00:00
[in] uint32 max_buffer,
2003-11-19 19:32:28 +00:00
[out] uint32 totalentries,
2008-02-01 20:41:26 +01:00
[in,out,unique] uint32 *resume_handle
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x25 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetShareDelStart(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-12-24 21:32:52 +00:00
[in] [string,charset(UTF16)] uint16 share[],
[in] uint32 reserved,
2008-02-01 20:41:26 +01:00
[out,unique] policy_handle *hnd
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x26 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetShareDelCommit(
2008-02-01 20:41:26 +01:00
[in, out,unique] policy_handle *hnd
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x27 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetGetFileSecurity(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *share,
2005-12-24 21:32:52 +00:00
[in] [string,charset(UTF16)] uint16 file[],
2006-05-21 07:14:18 +00:00
[in] security_secinfo securityinformation,
2008-10-29 13:52:23 +01:00
[out,ref] sec_desc_buf **sd_buf
2003-11-19 09:15:46 +00:00
);
/******************/
/* Function: 0x28 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetSetFileSecurity(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *share,
2005-12-24 21:32:52 +00:00
[in] [string,charset(UTF16)] uint16 file[],
2006-05-21 07:14:18 +00:00
[in] security_secinfo securityinformation,
2008-10-29 13:50:17 +01:00
[in,ref] sec_desc_buf *sd_buf
2003-11-19 09:15:46 +00:00
);
2003-12-15 09:18:53 +00:00
2005-12-24 21:32:52 +00:00
typedef [switch_type(uint32)] union {
[case(0)] srvsvc_NetTransportInfo0 info0;
[case(1)] srvsvc_NetTransportInfo1 info1;
[case(2)] srvsvc_NetTransportInfo2 info2;
[case(3)] srvsvc_NetTransportInfo3 info3;
} srvsvc_NetTransportInfo;
2003-12-15 09:18:53 +00:00
/******************/
/* Function: 0x29 */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetServerTransportAddEx(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
2005-12-24 21:32:52 +00:00
[in] uint32 level,
[in,switch_is(level)] srvsvc_NetTransportInfo info
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x2a */
2005-12-24 21:32:52 +00:00
WERROR srvsvc_NetServerSetServiceBitsEx(
2008-02-01 20:41:26 +01:00
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in,unique] [string,charset(UTF16)] uint16 *emulated_server_unc,
[in,unique] [string,charset(UTF16)] uint16 *transport,
2005-12-24 21:32:52 +00:00
[in] uint32 servicebitsofinterest,
[in] uint32 servicebits,
[in] uint32 updateimmediately
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x2b */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSGETVERSION(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x2c */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSCREATELOCALPARTITION(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x2d */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSDELETELOCALPARTITION(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x2e */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSSETLOCALVOLUMESTATE(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x2f */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSSETSERVERINFO(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x30 */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSCREATEEXITPOINT(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x31 */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSDELETEEXITPOINT(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x32 */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSMODIFYPREFIX(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x33 */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSFIXLOCALVOLUME(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x34 */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRDFSMANAGERREPORTSITEINFO(
2003-12-15 09:18:53 +00:00
);
/******************/
/* Function: 0x35 */
2008-04-08 03:15:55 +02:00
[todo] WERROR srvsvc_NETRSERVERTRANSPORTDELEX(
2003-12-15 09:18:53 +00:00
);
2003-11-19 09:15:46 +00:00
}