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.

192 lines
2.7 KiB

  1. #include "inetcorepch.h"
  2. #pragma hdrstop
  3. #include <unknwn.h>
  4. #define JAVAVMAPI
  5. #include <native.h>
  6. static
  7. JAVAVMAPI
  8. long
  9. __cdecl
  10. execute_java_dynamic_method(
  11. ExecEnv *Unused,
  12. HObject *phObj,
  13. PCUTF8 putfMethod,
  14. PCUTF8 putfSignature,
  15. ...
  16. )
  17. {
  18. return 0;
  19. }
  20. static
  21. JAVAVMAPI
  22. int64_t
  23. __cdecl
  24. execute_java_dynamic_method64(
  25. ExecEnv *Unused,
  26. HObject *phObj,
  27. PCUTF8 putfMethod,
  28. PCUTF8 putfSignature,
  29. ...
  30. )
  31. {
  32. return 0;
  33. }
  34. static
  35. JAVAVMAPI
  36. void
  37. __cdecl
  38. GCFramePush(
  39. PVOID pGCFrame,
  40. PVOID pObjects,
  41. DWORD cbObjectStructSize
  42. )
  43. {
  44. }
  45. static
  46. JAVAVMAPI
  47. BOOL
  48. __cdecl
  49. is_instance_of(
  50. HObject *phObj,
  51. ClassClass *pClass,
  52. ExecEnv *Unused
  53. )
  54. {
  55. return FALSE;
  56. }
  57. static
  58. JAVAVMAPI
  59. void
  60. __cdecl
  61. GCFramePop(
  62. PVOID pGCFrame
  63. )
  64. {
  65. }
  66. static
  67. JAVAVMAPI
  68. HObject*
  69. __cdecl
  70. execute_java_constructor(
  71. ExecEnv *Unused,
  72. PCUTF8 putfClassName,
  73. ClassClass *pClass,
  74. PCUTF8 putfSignature,
  75. ...
  76. )
  77. {
  78. return NULL;
  79. }
  80. static
  81. JAVAVMAPI
  82. HString *
  83. __cdecl
  84. makeJavaStringW(
  85. LPCWSTR pcwsz,
  86. int cch
  87. )
  88. {
  89. return NULL;
  90. }
  91. static
  92. JAVAVMAPI
  93. HObject *
  94. __cdecl
  95. convert_IUnknown_to_Java_Object(
  96. IUnknown *punk,
  97. HObject *phJavaClass,
  98. int fAssumeThreadSafe
  99. )
  100. {
  101. return NULL;
  102. }
  103. static
  104. JAVAVMAPI
  105. ClassClass*
  106. __cdecl
  107. FindClass(
  108. ExecEnv *Unused,
  109. PCUTF8 putfClassName,
  110. bool_t fResolve
  111. )
  112. {
  113. return NULL;
  114. }
  115. static
  116. JAVAVMAPI
  117. void*
  118. __cdecl
  119. jcdwGetData(
  120. HObject *phJCDW
  121. )
  122. {
  123. return NULL;
  124. }
  125. static
  126. JAVAVMAPI
  127. IUnknown *
  128. __cdecl
  129. convert_Java_Object_to_IUnknown(
  130. HObject *phJavaObject,
  131. const IID *pIID
  132. )
  133. {
  134. return NULL;
  135. }
  136. static
  137. JAVAVMAPI
  138. LPWSTR
  139. __cdecl
  140. javaStringStart(
  141. HString *phString
  142. )
  143. {
  144. return NULL;
  145. }
  146. static
  147. JAVAVMAPI
  148. int
  149. __cdecl
  150. javaStringLength(
  151. HString *phString
  152. )
  153. {
  154. return 0;
  155. }
  156. //
  157. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  158. //
  159. DEFINE_PROCNAME_ENTRIES(msjava)
  160. {
  161. DLPENTRY(FindClass)
  162. DLPENTRY(GCFramePop)
  163. DLPENTRY(GCFramePush)
  164. DLPENTRY(convert_IUnknown_to_Java_Object)
  165. DLPENTRY(convert_Java_Object_to_IUnknown)
  166. DLPENTRY(execute_java_constructor)
  167. DLPENTRY(execute_java_dynamic_method)
  168. DLPENTRY(execute_java_dynamic_method64)
  169. DLPENTRY(is_instance_of)
  170. DLPENTRY(javaStringLength)
  171. DLPENTRY(javaStringStart)
  172. DLPENTRY(jcdwGetData)
  173. DLPENTRY(makeJavaStringW)
  174. };
  175. DEFINE_PROCNAME_MAP(msjava)