Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
[ab/samba.git/.git] / librpc / idl / initshutdown.idl
1 #include "idl_types.h"
2
3 /*
4   initshutdown interface definition
5 */
6
7 import "lsa.idl";
8
9
10   uuid("894de0c0-0d55-11d3-a322-00c04fa321a1"),
11   version(1.0),
12   endpoint("ncacn_np:[\\pipe\\InitShutdown]"),
13   pointer_default(unique),
14   helpstring("Init shutdown service")
15 ] interface initshutdown
16 {
17         WERROR initshutdown_Init(
18                 [in,unique] uint16 *hostname,
19                 /*
20                  * Note: lsa_String and winreg_String both result
21                  *       in WERR_INVALID_PARAM
22                  */
23                 [in,unique] lsa_StringLarge *message,
24                 [in] uint32 timeout,
25                 [in] uint8 force_apps,
26                 [in] uint8 do_reboot
27         );
28
29         WERROR initshutdown_Abort(
30                 [in,unique] uint16 *server
31         );
32
33         WERROR initshutdown_InitEx(
34                 [in,unique] uint16 *hostname,
35                 /*
36                  * Note: lsa_String and winreg_String both result
37                  *       in WERR_INVALID_PARAM
38                  */
39                 [in,unique] lsa_StringLarge *message,
40                 [in] uint32 timeout,
41                 [in] uint8 force_apps,
42                 [in] uint8 do_reboot,
43                 [in] uint32 reason
44         );
45 }