Source code of Windows XP (NT5)
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.

825 lines
23 KiB

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