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.

158 lines
2.4 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. ntwow64b.h
  5. Abstract:
  6. This header contains the fake Nt functions in Win32 Base used WOW64 to call
  7. into 64 bit code.
  8. Author:
  9. Michael Zoran (mzoran) 21-Jun-1998
  10. Revision History:
  11. Samer Arafeh (samera) 20-May-2000
  12. Add Side-by-Side support to wow64
  13. Jay Krell (a-JayK) July 2000
  14. big changes to Side-by-Side
  15. --*/
  16. #ifndef _NTWOW64B_
  17. #define _NTWOW64B_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif
  21. #include "basesxs.h"
  22. extern BOOL RunningInWow64;
  23. //
  24. // csrbeep.c
  25. //
  26. VOID
  27. NTAPI
  28. NtWow64CsrBasepSoundSentryNotification(
  29. IN ULONG VideoMode
  30. );
  31. //
  32. // csrdlini.c
  33. //
  34. NTSTATUS
  35. NTAPI
  36. NtWow64CsrBasepRefreshIniFileMapping(
  37. IN PUNICODE_STRING BaseFileName
  38. );
  39. //
  40. // csrdosdv.c
  41. //
  42. NTSTATUS
  43. NTAPI
  44. NtWow64CsrBasepDefineDosDevice(
  45. IN DWORD dwFlags,
  46. IN PUNICODE_STRING pDeviceName,
  47. IN PUNICODE_STRING pTargetPath
  48. );
  49. //
  50. // csrpathm.c
  51. //
  52. UINT
  53. NTAPI
  54. NtWow64CsrBasepGetTempFile(
  55. VOID
  56. );
  57. //
  58. // csrpro.c
  59. //
  60. NTSTATUS
  61. NtWow64CsrBasepCreateProcess(
  62. IN PBASE_CREATEPROCESS_MSG a
  63. );
  64. VOID
  65. NtWow64CsrBasepExitProcess(
  66. IN UINT uExitCode
  67. );
  68. NTSTATUS
  69. NtWow64CsrBasepSetProcessShutdownParam(
  70. IN DWORD dwLevel,
  71. IN DWORD dwFlags
  72. );
  73. NTSTATUS
  74. NtWow64CsrBasepGetProcessShutdownParam(
  75. OUT LPDWORD lpdwLevel,
  76. OUT LPDWORD lpdwFlags
  77. );
  78. BOOL
  79. NtWow64CsrBaseCheckRunApp(
  80. IN HANDLE FileHandle,
  81. IN LPCWSTR pwszApplication,
  82. IN PVOID pEnvironment,
  83. IN USHORT uExeType,
  84. IN DWORD dwReason,
  85. OUT PVOID* ppData,
  86. OUT PDWORD pcbData,
  87. OUT PVOID* ppSxsData,
  88. OUT PDWORD pcbSxsData,
  89. OUT PDWORD pdwFusionFlags
  90. );
  91. //
  92. // csrterm.c
  93. //
  94. NTSTATUS
  95. NtWow64CsrBasepSetTermsrvAppInstallMode(
  96. IN BOOL bState
  97. );
  98. NTSTATUS
  99. NtWow64CsrBasepSetClientTimeZoneInformation(
  100. IN PBASE_SET_TERMSRVCLIENTTIMEZONE c
  101. );
  102. //
  103. // csrthrd.c
  104. //
  105. NTSTATUS
  106. NtWow64CsrBasepCreateThread(
  107. IN HANDLE ThreadHandle,
  108. IN CLIENT_ID ClientId
  109. );
  110. //
  111. // csrbinit.c
  112. //
  113. NTSTATUS
  114. NtWow64CsrBaseClientConnectToServer(
  115. IN PWSTR szSessionDir,
  116. OUT PHANDLE phMutant,
  117. OUT PBOOLEAN pServerProcess
  118. );
  119. //
  120. // csrsxs.c
  121. //
  122. NTSTATUS
  123. NtWow64CsrBasepCreateActCtx(
  124. IN PBASE_SXS_CREATE_ACTIVATION_CONTEXT_MSG Message
  125. );
  126. #endif