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.

104 lines
2.7 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  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. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef __shutinit_h__
  23. #define __shutinit_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. /* header files for imported files */
  29. #include "shutimp.h"
  30. #ifdef __cplusplus
  31. extern "C"{
  32. #endif
  33. void * __RPC_USER MIDL_user_allocate(size_t);
  34. void __RPC_USER MIDL_user_free( void * );
  35. #ifndef __InitShutdown_INTERFACE_DEFINED__
  36. #define __InitShutdown_INTERFACE_DEFINED__
  37. /* interface InitShutdown */
  38. /* [auto_handle][version][unique][uuid] */
  39. typedef /* [handle] */ PWCHAR PREGISTRY_SERVER_NAME;
  40. typedef struct _REG_UNICODE_STRING
  41. {
  42. USHORT Length;
  43. USHORT MaximumLength;
  44. /* [length_is][size_is] */ USHORT *Buffer;
  45. } *PREG_UNICODE_STRING;
  46. ULONG BaseInitiateShutdown(
  47. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName,
  48. /* [unique][in] */ PREG_UNICODE_STRING lpMessage,
  49. /* [in] */ DWORD dwTimeout,
  50. /* [in] */ BOOLEAN bForceAppsClosed,
  51. /* [in] */ BOOLEAN bRebootAfterShutdown);
  52. ULONG BaseAbortShutdown(
  53. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName);
  54. ULONG BaseInitiateShutdownEx(
  55. /* [unique][in] */ PREGISTRY_SERVER_NAME ServerName,
  56. /* [unique][in] */ PREG_UNICODE_STRING lpMessage,
  57. /* [in] */ DWORD dwTimeout,
  58. /* [in] */ BOOLEAN bForceAppsClosed,
  59. /* [in] */ BOOLEAN bRebootAfterShutdown,
  60. /* [in] */ DWORD dwReason);
  61. extern RPC_IF_HANDLE InitShutdown_ClientIfHandle;
  62. extern RPC_IF_HANDLE InitShutdown_ServerIfHandle;
  63. #endif /* __InitShutdown_INTERFACE_DEFINED__ */
  64. /* Additional Prototypes for ALL interfaces */
  65. handle_t __RPC_USER PREGISTRY_SERVER_NAME_bind ( PREGISTRY_SERVER_NAME );
  66. void __RPC_USER PREGISTRY_SERVER_NAME_unbind( PREGISTRY_SERVER_NAME, handle_t );
  67. /* end of Additional Prototypes */
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71. #endif