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.

102 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. ConvTestGetServerFn(
  27. IN PVOID Context,
  28. OUT PWSTR Server,
  29. IN OUT PULONG Length
  30. );
  31. NTSTATUS
  32. ConvTestGetMirrorDirFn(
  33. IN PVOID Context,
  34. OUT PWSTR Mirror,
  35. IN OUT PULONG Length
  36. );
  37. NTSTATUS
  38. ConvTestFileCreateFn(
  39. IN PVOID Context,
  40. IN PWSTR FileName,
  41. IN ULONG FileAction,
  42. IN ULONG Status
  43. );
  44. NTSTATUS
  45. ConvTestReinitFn(
  46. IN PVOID Context
  47. );
  48. NTSTATUS
  49. ConvTestGetSetupFn(
  50. IN PVOID Context,
  51. IN PWSTR Server,
  52. OUT PWSTR SetupPath,
  53. IN OUT PULONG Length
  54. );
  55. NTSTATUS
  56. ConvTestSetSystemFn(
  57. IN PVOID Context,
  58. IN PWSTR SystemPath,
  59. IN ULONG Length
  60. );
  61. NTSTATUS
  62. ConvAddToDoItemFn(
  63. IN PVOID Context,
  64. IN IMIRROR_TODO Function,
  65. IN PWSTR String,
  66. IN ULONG Length
  67. );
  68. NTSTATUS
  69. ConvRemoveToDoItemFn(
  70. IN PVOID Context,
  71. IN IMIRROR_TODO Function,
  72. IN PWSTR String,
  73. IN ULONG Length
  74. );
  75. NTSTATUS
  76. ConvRebootFn(
  77. IN PVOID Context
  78. );
  79. BOOL
  80. DoShutdown(
  81. IN BOOL Restart
  82. );
  83. #endif // _CALLBACK_H_