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.

95 lines
1.6 KiB

  1. /****************************************************************************
  2. Copyright (c) Microsoft Corporation 1998
  3. All rights reserved
  4. File: CALLBACK.H
  5. ***************************************************************************/
  6. #ifndef _CALLBACK_H_
  7. #define _CALLBACK_H_
  8. extern DWORD g_NeedDlg;
  9. extern HWND g_hMainWindow;
  10. HRESULT
  11. BeginProcess(
  12. HWND hParent );
  13. NTSTATUS
  14. ConvTestErrorFn(
  15. IN PVOID Context,
  16. IN NTSTATUS Status,
  17. IN IMIRROR_TODO IMirrorFunctionId
  18. );
  19. NTSTATUS
  20. ConvTestNowDoingFn(
  21. IN PVOID Context,
  22. IN IMIRROR_TODO Function,
  23. IN PWSTR String
  24. );
  25. NTSTATUS
  26. ConvTestGetMirrorDirFn(
  27. IN PVOID Context,
  28. OUT PWSTR Mirror,
  29. IN OUT PULONG Length
  30. );
  31. NTSTATUS
  32. ConvTestFileCreateFn(
  33. IN PVOID Context,
  34. IN PWSTR FileName,
  35. IN ULONG FileAction,
  36. IN ULONG Status
  37. );
  38. NTSTATUS
  39. ConvTestReinitFn(
  40. IN PVOID Context
  41. );
  42. NTSTATUS
  43. ConvTestGetSetupFn(
  44. IN PVOID Context,
  45. IN PWSTR Server,
  46. OUT PWSTR SetupPath,
  47. IN OUT PULONG Length
  48. );
  49. NTSTATUS
  50. ConvTestSetSystemFn(
  51. IN PVOID Context,
  52. IN PWSTR SystemPath,
  53. IN ULONG Length
  54. );
  55. NTSTATUS
  56. ConvAddToDoItemFn(
  57. IN PVOID Context,
  58. IN IMIRROR_TODO Function,
  59. IN PWSTR String,
  60. IN ULONG Length
  61. );
  62. NTSTATUS
  63. ConvRemoveToDoItemFn(
  64. IN PVOID Context,
  65. IN IMIRROR_TODO Function,
  66. IN PWSTR String,
  67. IN ULONG Length
  68. );
  69. NTSTATUS
  70. ConvRebootFn(
  71. IN PVOID Context
  72. );
  73. BOOL
  74. DoShutdown(
  75. IN BOOL Restart
  76. );
  77. #endif // _CALLBACK_H_