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.

847 lines
24 KiB

  1. /* this ALWAYS GENERATED file contains the RPC client stubs */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for shutinit.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, oldnames, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #if !defined(_M_IA64) && !defined(_M_AMD64)
  13. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  14. #if _MSC_VER >= 1200
  15. #pragma warning(push)
  16. #endif
  17. #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
  18. #pragma warning( disable: 4211 ) /* redefine extent to static */
  19. #pragma warning( disable: 4232 ) /* dllimport identity*/
  20. #include <string.h>
  21. #include "shutinit.h"
  22. #define TYPE_FORMAT_STRING_SIZE 51
  23. #define PROC_FORMAT_STRING_SIZE 181
  24. #define TRANSMIT_AS_TABLE_SIZE 0
  25. #define WIRE_MARSHAL_TABLE_SIZE 0
  26. typedef struct _MIDL_TYPE_FORMAT_STRING
  27. {
  28. short Pad;
  29. unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
  30. } MIDL_TYPE_FORMAT_STRING;
  31. typedef struct _MIDL_PROC_FORMAT_STRING
  32. {
  33. short Pad;
  34. unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
  35. } MIDL_PROC_FORMAT_STRING;
  36. static RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
  37. {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
  38. extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  39. extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  40. #define GENERIC_BINDING_TABLE_SIZE 1
  41. /* Standard interface: InitShutdown, ver. 1.0,
  42. GUID={0x894de0c0,0x0d55,0x11d3,{0xa3,0x22,0x00,0xc0,0x4f,0xa3,0x21,0xa1}} */
  43. static const RPC_CLIENT_INTERFACE InitShutdown___RpcClientInterface =
  44. {
  45. sizeof(RPC_CLIENT_INTERFACE),
  46. {{0x894de0c0,0x0d55,0x11d3,{0xa3,0x22,0x00,0xc0,0x4f,0xa3,0x21,0xa1}},{1,0}},
  47. {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
  48. 0,
  49. 0,
  50. 0,
  51. 0,
  52. 0,
  53. 0x00000000
  54. };
  55. RPC_IF_HANDLE InitShutdown_ClientIfHandle = (RPC_IF_HANDLE)& InitShutdown___RpcClientInterface;
  56. extern const MIDL_STUB_DESC InitShutdown_StubDesc;
  57. static RPC_BINDING_HANDLE InitShutdown__MIDL_AutoBindHandle;
  58. ULONG BaseInitiateShutdown(
  59. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName,
  60. /* [unique][in] */ PREG_UNICODE_STRING lpMessage,
  61. /* [in] */ DWORD dwTimeout,
  62. /* [in] */ BOOLEAN bForceAppsClosed,
  63. /* [in] */ BOOLEAN bRebootAfterShutdown)
  64. {
  65. CLIENT_CALL_RETURN _RetVal;
  66. _RetVal = NdrClientCall2(
  67. ( PMIDL_STUB_DESC )&InitShutdown_StubDesc,
  68. (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0],
  69. ( unsigned char * )&ServerName);
  70. return ( ULONG )_RetVal.Simple;
  71. }
  72. ULONG BaseAbortShutdown(
  73. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName)
  74. {
  75. CLIENT_CALL_RETURN _RetVal;
  76. _RetVal = NdrClientCall2(
  77. ( PMIDL_STUB_DESC )&InitShutdown_StubDesc,
  78. (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[66],
  79. ( unsigned char * )&ServerName);
  80. return ( ULONG )_RetVal.Simple;
  81. }
  82. ULONG BaseInitiateShutdownEx(
  83. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName,
  84. /* [unique][in] */ PREG_UNICODE_STRING lpMessage,
  85. /* [in] */ DWORD dwTimeout,
  86. /* [in] */ BOOLEAN bForceAppsClosed,
  87. /* [in] */ BOOLEAN bRebootAfterShutdown,
  88. /* [in] */ DWORD dwReason)
  89. {
  90. CLIENT_CALL_RETURN _RetVal;
  91. _RetVal = NdrClientCall2(
  92. ( PMIDL_STUB_DESC )&InitShutdown_StubDesc,
  93. (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[108],
  94. ( unsigned char * )&ServerName);
  95. return ( ULONG )_RetVal.Simple;
  96. }
  97. extern const GENERIC_BINDING_ROUTINE_PAIR BindingRoutines[ GENERIC_BINDING_TABLE_SIZE ];
  98. #if !defined(__RPC_WIN32__)
  99. #error Invalid build platform for this stub.
  100. #endif
  101. #if !(TARGET_IS_NT50_OR_LATER)
  102. #error You need a Windows 2000 or later to run this stub because it uses these features:
  103. #error /robust command line switch.
  104. #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
  105. #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
  106. #endif
  107. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  108. {
  109. 0,
  110. {
  111. /* Procedure BaseInitiateShutdown */
  112. 0x0, /* 0 */
  113. 0x48, /* Old Flags: */
  114. /* 2 */ NdrFcLong( 0x0 ), /* 0 */
  115. /* 6 */ NdrFcShort( 0x0 ), /* 0 */
  116. /* 8 */ NdrFcShort( 0x18 ), /* x86 Stack size/offset = 24 */
  117. /* 10 */ 0x31, /* FC_BIND_GENERIC */
  118. 0x4, /* 4 */
  119. /* 12 */ NdrFcShort( 0x0 ), /* x86 Stack size/offset = 0 */
  120. /* 14 */ 0x0, /* 0 */
  121. 0x5c, /* FC_PAD */
  122. /* 16 */ NdrFcShort( 0x2c ), /* 44 */
  123. /* 18 */ NdrFcShort( 0x8 ), /* 8 */
  124. /* 20 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
  125. 0x6, /* 6 */
  126. /* 22 */ 0x8, /* 8 */
  127. 0x5, /* Ext Flags: new corr desc, srv corr check, */
  128. /* 24 */ NdrFcShort( 0x0 ), /* 0 */
  129. /* 26 */ NdrFcShort( 0x1 ), /* 1 */
  130. /* 28 */ NdrFcShort( 0x0 ), /* 0 */
  131. /* Parameter ServerName */
  132. /* 30 */ NdrFcShort( 0xa ), /* Flags: must free, in, */
  133. /* 32 */ NdrFcShort( 0x0 ), /* x86 Stack size/offset = 0 */
  134. /* 34 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  135. /* Parameter lpMessage */
  136. /* 36 */ NdrFcShort( 0xb ), /* Flags: must size, must free, in, */
  137. /* 38 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
  138. /* 40 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  139. /* Parameter dwTimeout */
  140. /* 42 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  141. /* 44 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
  142. /* 46 */ 0x8, /* FC_LONG */
  143. 0x0, /* 0 */
  144. /* Parameter bForceAppsClosed */
  145. /* 48 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  146. /* 50 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
  147. /* 52 */ 0x2, /* FC_CHAR */
  148. 0x0, /* 0 */
  149. /* Parameter bRebootAfterShutdown */
  150. /* 54 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  151. /* 56 */ NdrFcShort( 0x10 ), /* x86 Stack size/offset = 16 */
  152. /* 58 */ 0x2, /* FC_CHAR */
  153. 0x0, /* 0 */
  154. /* Return value */
  155. /* 60 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
  156. /* 62 */ NdrFcShort( 0x14 ), /* x86 Stack size/offset = 20 */
  157. /* 64 */ 0x8, /* FC_LONG */
  158. 0x0, /* 0 */
  159. /* Procedure BaseAbortShutdown */
  160. /* 66 */ 0x0, /* 0 */
  161. 0x48, /* Old Flags: */
  162. /* 68 */ NdrFcLong( 0x0 ), /* 0 */
  163. /* 72 */ NdrFcShort( 0x1 ), /* 1 */
  164. /* 74 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
  165. /* 76 */ 0x31, /* FC_BIND_GENERIC */
  166. 0x4, /* 4 */
  167. /* 78 */ NdrFcShort( 0x0 ), /* x86 Stack size/offset = 0 */
  168. /* 80 */ 0x0, /* 0 */
  169. 0x5c, /* FC_PAD */
  170. /* 82 */ NdrFcShort( 0x1a ), /* 26 */
  171. /* 84 */ NdrFcShort( 0x8 ), /* 8 */
  172. /* 86 */ 0x44, /* Oi2 Flags: has return, has ext, */
  173. 0x2, /* 2 */
  174. /* 88 */ 0x8, /* 8 */
  175. 0x1, /* Ext Flags: new corr desc, */
  176. /* 90 */ NdrFcShort( 0x0 ), /* 0 */
  177. /* 92 */ NdrFcShort( 0x0 ), /* 0 */
  178. /* 94 */ NdrFcShort( 0x0 ), /* 0 */
  179. /* Parameter ServerName */
  180. /* 96 */ NdrFcShort( 0xa ), /* Flags: must free, in, */
  181. /* 98 */ NdrFcShort( 0x0 ), /* x86 Stack size/offset = 0 */
  182. /* 100 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  183. /* Return value */
  184. /* 102 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
  185. /* 104 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
  186. /* 106 */ 0x8, /* FC_LONG */
  187. 0x0, /* 0 */
  188. /* Procedure BaseInitiateShutdownEx */
  189. /* 108 */ 0x0, /* 0 */
  190. 0x48, /* Old Flags: */
  191. /* 110 */ NdrFcLong( 0x0 ), /* 0 */
  192. /* 114 */ NdrFcShort( 0x2 ), /* 2 */
  193. /* 116 */ NdrFcShort( 0x1c ), /* x86 Stack size/offset = 28 */
  194. /* 118 */ 0x31, /* FC_BIND_GENERIC */
  195. 0x4, /* 4 */
  196. /* 120 */ NdrFcShort( 0x0 ), /* x86 Stack size/offset = 0 */
  197. /* 122 */ 0x0, /* 0 */
  198. 0x5c, /* FC_PAD */
  199. /* 124 */ NdrFcShort( 0x34 ), /* 52 */
  200. /* 126 */ NdrFcShort( 0x8 ), /* 8 */
  201. /* 128 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
  202. 0x7, /* 7 */
  203. /* 130 */ 0x8, /* 8 */
  204. 0x5, /* Ext Flags: new corr desc, srv corr check, */
  205. /* 132 */ NdrFcShort( 0x0 ), /* 0 */
  206. /* 134 */ NdrFcShort( 0x1 ), /* 1 */
  207. /* 136 */ NdrFcShort( 0x0 ), /* 0 */
  208. /* Parameter ServerName */
  209. /* 138 */ NdrFcShort( 0xa ), /* Flags: must free, in, */
  210. /* 140 */ NdrFcShort( 0x0 ), /* x86 Stack size/offset = 0 */
  211. /* 142 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  212. /* Parameter lpMessage */
  213. /* 144 */ NdrFcShort( 0xb ), /* Flags: must size, must free, in, */
  214. /* 146 */ NdrFcShort( 0x4 ), /* x86 Stack size/offset = 4 */
  215. /* 148 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  216. /* Parameter dwTimeout */
  217. /* 150 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  218. /* 152 */ NdrFcShort( 0x8 ), /* x86 Stack size/offset = 8 */
  219. /* 154 */ 0x8, /* FC_LONG */
  220. 0x0, /* 0 */
  221. /* Parameter bForceAppsClosed */
  222. /* 156 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  223. /* 158 */ NdrFcShort( 0xc ), /* x86 Stack size/offset = 12 */
  224. /* 160 */ 0x2, /* FC_CHAR */
  225. 0x0, /* 0 */
  226. /* Parameter bRebootAfterShutdown */
  227. /* 162 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  228. /* 164 */ NdrFcShort( 0x10 ), /* x86 Stack size/offset = 16 */
  229. /* 166 */ 0x2, /* FC_CHAR */
  230. 0x0, /* 0 */
  231. /* Parameter dwReason */
  232. /* 168 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  233. /* 170 */ NdrFcShort( 0x14 ), /* x86 Stack size/offset = 20 */
  234. /* 172 */ 0x8, /* FC_LONG */
  235. 0x0, /* 0 */
  236. /* Return value */
  237. /* 174 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
  238. /* 176 */ NdrFcShort( 0x18 ), /* x86 Stack size/offset = 24 */
  239. /* 178 */ 0x8, /* FC_LONG */
  240. 0x0, /* 0 */
  241. 0x0
  242. }
  243. };
  244. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  245. {
  246. 0,
  247. {
  248. NdrFcShort( 0x0 ), /* 0 */
  249. /* 2 */
  250. 0x12, 0x8, /* FC_UP [simple_pointer] */
  251. /* 4 */ 0x5, /* FC_WCHAR */
  252. 0x5c, /* FC_PAD */
  253. /* 6 */
  254. 0x12, 0x0, /* FC_UP */
  255. /* 8 */ NdrFcShort( 0x14 ), /* Offset= 20 (28) */
  256. /* 10 */
  257. 0x1c, /* FC_CVARRAY */
  258. 0x1, /* 1 */
  259. /* 12 */ NdrFcShort( 0x2 ), /* 2 */
  260. /* 14 */ 0x17, /* Corr desc: field pointer, FC_USHORT */
  261. 0x55, /* FC_DIV_2 */
  262. /* 16 */ NdrFcShort( 0x2 ), /* 2 */
  263. /* 18 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
  264. /* 20 */ 0x17, /* Corr desc: field pointer, FC_USHORT */
  265. 0x55, /* FC_DIV_2 */
  266. /* 22 */ NdrFcShort( 0x0 ), /* 0 */
  267. /* 24 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
  268. /* 26 */ 0x6, /* FC_SHORT */
  269. 0x5b, /* FC_END */
  270. /* 28 */
  271. 0x16, /* FC_PSTRUCT */
  272. 0x3, /* 3 */
  273. /* 30 */ NdrFcShort( 0x8 ), /* 8 */
  274. /* 32 */
  275. 0x4b, /* FC_PP */
  276. 0x5c, /* FC_PAD */
  277. /* 34 */
  278. 0x46, /* FC_NO_REPEAT */
  279. 0x5c, /* FC_PAD */
  280. /* 36 */ NdrFcShort( 0x4 ), /* 4 */
  281. /* 38 */ NdrFcShort( 0x4 ), /* 4 */
  282. /* 40 */ 0x12, 0x0, /* FC_UP */
  283. /* 42 */ NdrFcShort( 0xffe0 ), /* Offset= -32 (10) */
  284. /* 44 */
  285. 0x5b, /* FC_END */
  286. 0x6, /* FC_SHORT */
  287. /* 46 */ 0x6, /* FC_SHORT */
  288. 0x8, /* FC_LONG */
  289. /* 48 */ 0x5c, /* FC_PAD */
  290. 0x5b, /* FC_END */
  291. 0x0
  292. }
  293. };
  294. static const GENERIC_BINDING_ROUTINE_PAIR BindingRoutines[ GENERIC_BINDING_TABLE_SIZE ] =
  295. {
  296. {
  297. (GENERIC_BINDING_ROUTINE)PREGISTRY_SERVER_NAME_bind,
  298. (GENERIC_UNBIND_ROUTINE)PREGISTRY_SERVER_NAME_unbind
  299. }
  300. };
  301. static const unsigned short InitShutdown_FormatStringOffsetTable[] =
  302. {
  303. 0,
  304. 66,
  305. 108
  306. };
  307. static const MIDL_STUB_DESC InitShutdown_StubDesc =
  308. {
  309. (void *)& InitShutdown___RpcClientInterface,
  310. MIDL_user_allocate,
  311. MIDL_user_free,
  312. &InitShutdown__MIDL_AutoBindHandle,
  313. 0,
  314. BindingRoutines,
  315. 0,
  316. 0,
  317. __MIDL_TypeFormatString.Format,
  318. 1, /* -error bounds_check flag */
  319. 0x50002, /* Ndr library version */
  320. 0,
  321. 0x6000169, /* MIDL Version 6.0.361 */
  322. 0,
  323. 0,
  324. 0, /* notify & notify_flag routine table */
  325. 0x1, /* MIDL flag */
  326. 0, /* cs routines */
  327. 0, /* proxy/server info */
  328. 0 /* Reserved5 */
  329. };
  330. #if _MSC_VER >= 1200
  331. #pragma warning(pop)
  332. #endif
  333. #endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/
  334. /* this ALWAYS GENERATED file contains the RPC client stubs */
  335. /* File created by MIDL compiler version 6.00.0361 */
  336. /* Compiler settings for shutinit.idl:
  337. Oicf, W1, Zp8, env=Win64 (32b run,appending)
  338. protocol : dce , ms_ext, c_ext, oldnames, robust
  339. error checks: allocation ref bounds_check enum stub_data
  340. VC __declspec() decoration level:
  341. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  342. DECLSPEC_UUID(), MIDL_INTERFACE()
  343. */
  344. //@@MIDL_FILE_HEADING( )
  345. #if defined(_M_IA64) || defined(_M_AMD64)
  346. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  347. #if _MSC_VER >= 1200
  348. #pragma warning(push)
  349. #endif
  350. #pragma warning( disable: 4211 ) /* redefine extent to static */
  351. #pragma warning( disable: 4232 ) /* dllimport identity*/
  352. #include <string.h>
  353. #include "shutinit.h"
  354. #define TYPE_FORMAT_STRING_SIZE 47
  355. #define PROC_FORMAT_STRING_SIZE 187
  356. #define TRANSMIT_AS_TABLE_SIZE 0
  357. #define WIRE_MARSHAL_TABLE_SIZE 0
  358. typedef struct _MIDL_TYPE_FORMAT_STRING
  359. {
  360. short Pad;
  361. unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
  362. } MIDL_TYPE_FORMAT_STRING;
  363. typedef struct _MIDL_PROC_FORMAT_STRING
  364. {
  365. short Pad;
  366. unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
  367. } MIDL_PROC_FORMAT_STRING;
  368. static RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
  369. {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
  370. extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  371. extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  372. #define GENERIC_BINDING_TABLE_SIZE 1
  373. /* Standard interface: InitShutdown, ver. 1.0,
  374. GUID={0x894de0c0,0x0d55,0x11d3,{0xa3,0x22,0x00,0xc0,0x4f,0xa3,0x21,0xa1}} */
  375. static const RPC_CLIENT_INTERFACE InitShutdown___RpcClientInterface =
  376. {
  377. sizeof(RPC_CLIENT_INTERFACE),
  378. {{0x894de0c0,0x0d55,0x11d3,{0xa3,0x22,0x00,0xc0,0x4f,0xa3,0x21,0xa1}},{1,0}},
  379. {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
  380. 0,
  381. 0,
  382. 0,
  383. 0,
  384. 0,
  385. 0x00000000
  386. };
  387. RPC_IF_HANDLE InitShutdown_ClientIfHandle = (RPC_IF_HANDLE)& InitShutdown___RpcClientInterface;
  388. extern const MIDL_STUB_DESC InitShutdown_StubDesc;
  389. static RPC_BINDING_HANDLE InitShutdown__MIDL_AutoBindHandle;
  390. ULONG BaseInitiateShutdown(
  391. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName,
  392. /* [unique][in] */ PREG_UNICODE_STRING lpMessage,
  393. /* [in] */ DWORD dwTimeout,
  394. /* [in] */ BOOLEAN bForceAppsClosed,
  395. /* [in] */ BOOLEAN bRebootAfterShutdown)
  396. {
  397. CLIENT_CALL_RETURN _RetVal;
  398. _RetVal = NdrClientCall2(
  399. ( PMIDL_STUB_DESC )&InitShutdown_StubDesc,
  400. (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0],
  401. ServerName,
  402. lpMessage,
  403. dwTimeout,
  404. bForceAppsClosed,
  405. bRebootAfterShutdown);
  406. return ( ULONG )_RetVal.Simple;
  407. }
  408. ULONG BaseAbortShutdown(
  409. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName)
  410. {
  411. CLIENT_CALL_RETURN _RetVal;
  412. _RetVal = NdrClientCall2(
  413. ( PMIDL_STUB_DESC )&InitShutdown_StubDesc,
  414. (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[68],
  415. ServerName);
  416. return ( ULONG )_RetVal.Simple;
  417. }
  418. ULONG BaseInitiateShutdownEx(
  419. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName,
  420. /* [unique][in] */ PREG_UNICODE_STRING lpMessage,
  421. /* [in] */ DWORD dwTimeout,
  422. /* [in] */ BOOLEAN bForceAppsClosed,
  423. /* [in] */ BOOLEAN bRebootAfterShutdown,
  424. /* [in] */ DWORD dwReason)
  425. {
  426. CLIENT_CALL_RETURN _RetVal;
  427. _RetVal = NdrClientCall2(
  428. ( PMIDL_STUB_DESC )&InitShutdown_StubDesc,
  429. (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[112],
  430. ServerName,
  431. lpMessage,
  432. dwTimeout,
  433. bForceAppsClosed,
  434. bRebootAfterShutdown,
  435. dwReason);
  436. return ( ULONG )_RetVal.Simple;
  437. }
  438. extern const GENERIC_BINDING_ROUTINE_PAIR BindingRoutines[ GENERIC_BINDING_TABLE_SIZE ];
  439. #if !defined(__RPC_WIN64__)
  440. #error Invalid build platform for this stub.
  441. #endif
  442. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  443. {
  444. 0,
  445. {
  446. /* Procedure BaseInitiateShutdown */
  447. 0x0, /* 0 */
  448. 0x48, /* Old Flags: */
  449. /* 2 */ NdrFcLong( 0x0 ), /* 0 */
  450. /* 6 */ NdrFcShort( 0x0 ), /* 0 */
  451. /* 8 */ NdrFcShort( 0x30 ), /* ia64 Stack size/offset = 48 */
  452. /* 10 */ 0x31, /* FC_BIND_GENERIC */
  453. 0x8, /* 8 */
  454. /* 12 */ NdrFcShort( 0x0 ), /* ia64 Stack size/offset = 0 */
  455. /* 14 */ 0x0, /* 0 */
  456. 0x5c, /* FC_PAD */
  457. /* 16 */ NdrFcShort( 0x2c ), /* 44 */
  458. /* 18 */ NdrFcShort( 0x8 ), /* 8 */
  459. /* 20 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
  460. 0x6, /* 6 */
  461. /* 22 */ 0xa, /* 10 */
  462. 0x5, /* Ext Flags: new corr desc, srv corr check, */
  463. /* 24 */ NdrFcShort( 0x0 ), /* 0 */
  464. /* 26 */ NdrFcShort( 0x1 ), /* 1 */
  465. /* 28 */ NdrFcShort( 0x0 ), /* 0 */
  466. /* 30 */ NdrFcShort( 0x0 ), /* 0 */
  467. /* Parameter ServerName */
  468. /* 32 */ NdrFcShort( 0xa ), /* Flags: must free, in, */
  469. /* 34 */ NdrFcShort( 0x0 ), /* ia64 Stack size/offset = 0 */
  470. /* 36 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  471. /* Parameter lpMessage */
  472. /* 38 */ NdrFcShort( 0xb ), /* Flags: must size, must free, in, */
  473. /* 40 */ NdrFcShort( 0x8 ), /* ia64 Stack size/offset = 8 */
  474. /* 42 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  475. /* Parameter dwTimeout */
  476. /* 44 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  477. /* 46 */ NdrFcShort( 0x10 ), /* ia64 Stack size/offset = 16 */
  478. /* 48 */ 0x8, /* FC_LONG */
  479. 0x0, /* 0 */
  480. /* Parameter bForceAppsClosed */
  481. /* 50 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  482. /* 52 */ NdrFcShort( 0x18 ), /* ia64 Stack size/offset = 24 */
  483. /* 54 */ 0x2, /* FC_CHAR */
  484. 0x0, /* 0 */
  485. /* Parameter bRebootAfterShutdown */
  486. /* 56 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  487. /* 58 */ NdrFcShort( 0x20 ), /* ia64 Stack size/offset = 32 */
  488. /* 60 */ 0x2, /* FC_CHAR */
  489. 0x0, /* 0 */
  490. /* Return value */
  491. /* 62 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
  492. /* 64 */ NdrFcShort( 0x28 ), /* ia64 Stack size/offset = 40 */
  493. /* 66 */ 0x8, /* FC_LONG */
  494. 0x0, /* 0 */
  495. /* Procedure BaseAbortShutdown */
  496. /* 68 */ 0x0, /* 0 */
  497. 0x48, /* Old Flags: */
  498. /* 70 */ NdrFcLong( 0x0 ), /* 0 */
  499. /* 74 */ NdrFcShort( 0x1 ), /* 1 */
  500. /* 76 */ NdrFcShort( 0x10 ), /* ia64 Stack size/offset = 16 */
  501. /* 78 */ 0x31, /* FC_BIND_GENERIC */
  502. 0x8, /* 8 */
  503. /* 80 */ NdrFcShort( 0x0 ), /* ia64 Stack size/offset = 0 */
  504. /* 82 */ 0x0, /* 0 */
  505. 0x5c, /* FC_PAD */
  506. /* 84 */ NdrFcShort( 0x1a ), /* 26 */
  507. /* 86 */ NdrFcShort( 0x8 ), /* 8 */
  508. /* 88 */ 0x44, /* Oi2 Flags: has return, has ext, */
  509. 0x2, /* 2 */
  510. /* 90 */ 0xa, /* 10 */
  511. 0x1, /* Ext Flags: new corr desc, */
  512. /* 92 */ NdrFcShort( 0x0 ), /* 0 */
  513. /* 94 */ NdrFcShort( 0x0 ), /* 0 */
  514. /* 96 */ NdrFcShort( 0x0 ), /* 0 */
  515. /* 98 */ NdrFcShort( 0x0 ), /* 0 */
  516. /* Parameter ServerName */
  517. /* 100 */ NdrFcShort( 0xa ), /* Flags: must free, in, */
  518. /* 102 */ NdrFcShort( 0x0 ), /* ia64 Stack size/offset = 0 */
  519. /* 104 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  520. /* Return value */
  521. /* 106 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
  522. /* 108 */ NdrFcShort( 0x8 ), /* ia64 Stack size/offset = 8 */
  523. /* 110 */ 0x8, /* FC_LONG */
  524. 0x0, /* 0 */
  525. /* Procedure BaseInitiateShutdownEx */
  526. /* 112 */ 0x0, /* 0 */
  527. 0x48, /* Old Flags: */
  528. /* 114 */ NdrFcLong( 0x0 ), /* 0 */
  529. /* 118 */ NdrFcShort( 0x2 ), /* 2 */
  530. /* 120 */ NdrFcShort( 0x38 ), /* ia64 Stack size/offset = 56 */
  531. /* 122 */ 0x31, /* FC_BIND_GENERIC */
  532. 0x8, /* 8 */
  533. /* 124 */ NdrFcShort( 0x0 ), /* ia64 Stack size/offset = 0 */
  534. /* 126 */ 0x0, /* 0 */
  535. 0x5c, /* FC_PAD */
  536. /* 128 */ NdrFcShort( 0x34 ), /* 52 */
  537. /* 130 */ NdrFcShort( 0x8 ), /* 8 */
  538. /* 132 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
  539. 0x7, /* 7 */
  540. /* 134 */ 0xa, /* 10 */
  541. 0x5, /* Ext Flags: new corr desc, srv corr check, */
  542. /* 136 */ NdrFcShort( 0x0 ), /* 0 */
  543. /* 138 */ NdrFcShort( 0x1 ), /* 1 */
  544. /* 140 */ NdrFcShort( 0x0 ), /* 0 */
  545. /* 142 */ NdrFcShort( 0x0 ), /* 0 */
  546. /* Parameter ServerName */
  547. /* 144 */ NdrFcShort( 0xa ), /* Flags: must free, in, */
  548. /* 146 */ NdrFcShort( 0x0 ), /* ia64 Stack size/offset = 0 */
  549. /* 148 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  550. /* Parameter lpMessage */
  551. /* 150 */ NdrFcShort( 0xb ), /* Flags: must size, must free, in, */
  552. /* 152 */ NdrFcShort( 0x8 ), /* ia64 Stack size/offset = 8 */
  553. /* 154 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  554. /* Parameter dwTimeout */
  555. /* 156 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  556. /* 158 */ NdrFcShort( 0x10 ), /* ia64 Stack size/offset = 16 */
  557. /* 160 */ 0x8, /* FC_LONG */
  558. 0x0, /* 0 */
  559. /* Parameter bForceAppsClosed */
  560. /* 162 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  561. /* 164 */ NdrFcShort( 0x18 ), /* ia64 Stack size/offset = 24 */
  562. /* 166 */ 0x2, /* FC_CHAR */
  563. 0x0, /* 0 */
  564. /* Parameter bRebootAfterShutdown */
  565. /* 168 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  566. /* 170 */ NdrFcShort( 0x20 ), /* ia64 Stack size/offset = 32 */
  567. /* 172 */ 0x2, /* FC_CHAR */
  568. 0x0, /* 0 */
  569. /* Parameter dwReason */
  570. /* 174 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
  571. /* 176 */ NdrFcShort( 0x28 ), /* ia64 Stack size/offset = 40 */
  572. /* 178 */ 0x8, /* FC_LONG */
  573. 0x0, /* 0 */
  574. /* Return value */
  575. /* 180 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
  576. /* 182 */ NdrFcShort( 0x30 ), /* ia64 Stack size/offset = 48 */
  577. /* 184 */ 0x8, /* FC_LONG */
  578. 0x0, /* 0 */
  579. 0x0
  580. }
  581. };
  582. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  583. {
  584. 0,
  585. {
  586. NdrFcShort( 0x0 ), /* 0 */
  587. /* 2 */
  588. 0x12, 0x8, /* FC_UP [simple_pointer] */
  589. /* 4 */ 0x5, /* FC_WCHAR */
  590. 0x5c, /* FC_PAD */
  591. /* 6 */
  592. 0x12, 0x0, /* FC_UP */
  593. /* 8 */ NdrFcShort( 0x14 ), /* Offset= 20 (28) */
  594. /* 10 */
  595. 0x1c, /* FC_CVARRAY */
  596. 0x1, /* 1 */
  597. /* 12 */ NdrFcShort( 0x2 ), /* 2 */
  598. /* 14 */ 0x17, /* Corr desc: field pointer, FC_USHORT */
  599. 0x55, /* FC_DIV_2 */
  600. /* 16 */ NdrFcShort( 0x2 ), /* 2 */
  601. /* 18 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
  602. /* 20 */ 0x17, /* Corr desc: field pointer, FC_USHORT */
  603. 0x55, /* FC_DIV_2 */
  604. /* 22 */ NdrFcShort( 0x0 ), /* 0 */
  605. /* 24 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
  606. /* 26 */ 0x6, /* FC_SHORT */
  607. 0x5b, /* FC_END */
  608. /* 28 */
  609. 0x1a, /* FC_BOGUS_STRUCT */
  610. 0x3, /* 3 */
  611. /* 30 */ NdrFcShort( 0x10 ), /* 16 */
  612. /* 32 */ NdrFcShort( 0x0 ), /* 0 */
  613. /* 34 */ NdrFcShort( 0x8 ), /* Offset= 8 (42) */
  614. /* 36 */ 0x6, /* FC_SHORT */
  615. 0x6, /* FC_SHORT */
  616. /* 38 */ 0x40, /* FC_STRUCTPAD4 */
  617. 0x36, /* FC_POINTER */
  618. /* 40 */ 0x5c, /* FC_PAD */
  619. 0x5b, /* FC_END */
  620. /* 42 */
  621. 0x12, 0x0, /* FC_UP */
  622. /* 44 */ NdrFcShort( 0xffde ), /* Offset= -34 (10) */
  623. 0x0
  624. }
  625. };
  626. static const GENERIC_BINDING_ROUTINE_PAIR BindingRoutines[ GENERIC_BINDING_TABLE_SIZE ] =
  627. {
  628. {
  629. (GENERIC_BINDING_ROUTINE)PREGISTRY_SERVER_NAME_bind,
  630. (GENERIC_UNBIND_ROUTINE)PREGISTRY_SERVER_NAME_unbind
  631. }
  632. };
  633. static const unsigned short InitShutdown_FormatStringOffsetTable[] =
  634. {
  635. 0,
  636. 68,
  637. 112
  638. };
  639. static const MIDL_STUB_DESC InitShutdown_StubDesc =
  640. {
  641. (void *)& InitShutdown___RpcClientInterface,
  642. MIDL_user_allocate,
  643. MIDL_user_free,
  644. &InitShutdown__MIDL_AutoBindHandle,
  645. 0,
  646. BindingRoutines,
  647. 0,
  648. 0,
  649. __MIDL_TypeFormatString.Format,
  650. 1, /* -error bounds_check flag */
  651. 0x50002, /* Ndr library version */
  652. 0,
  653. 0x6000169, /* MIDL Version 6.0.361 */
  654. 0,
  655. 0,
  656. 0, /* notify & notify_flag routine table */
  657. 0x1, /* MIDL flag */
  658. 0, /* cs routines */
  659. 0, /* proxy/server info */
  660. 0 /* Reserved5 */
  661. };
  662. #if _MSC_VER >= 1200
  663. #pragma warning(pop)
  664. #endif
  665. #endif /* defined(_M_IA64) || defined(_M_AMD64)*/