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.

227 lines
4.7 KiB

  1. __foldwin32sstuff __foldwin32sstuff;
  2. foldstyleinitialization = true;
  3. enablemapdirect1632 = true;
  4. defaultholdwin16lock = true;
  5. #include "types.thk"
  6. typedef HANDLE HENHMETAFILE;
  7. typedef HANDLE HMETAFILE;
  8. DWORD GetDdemlAccessHandleBuffer(VOID);
  9. BOOL PlayEMF(HDC, HENHMETAFILE, LPSTR lpMetaFilePict32) =
  10. BOOL PlayEnhMetaFile(HDC, HENHMETAFILE, LPSTR lpMetaFilePict32)
  11. {
  12. releasewin16lock = true;
  13. }
  14. HENHMETAFILE SetMFBits(DWORD, LPSTR, HDC, LPSTR lpRectL) =
  15. HENHMETAFILE SetWinMetaFileBits(DWORD, LPSTR, HDC, LPSTR lpRectL)
  16. {
  17. releasewin16lock = true;
  18. }
  19. DWORD GetMFBits(HENHMETAFILE, DWORD, LPSTR, INT, HDC) =
  20. DWORD GetWinMetaFileBits(HENHMETAFILE, DWORD, LPSTR, INT, HDC)
  21. {
  22. releasewin16lock = true;
  23. }
  24. HMETAFILE SetMFBitsEx(DWORD, LPSTR) =
  25. HMETAFILE SetMetaFileBitsEx(DWORD, LPSTR)
  26. {
  27. releasewin16lock = true;
  28. }
  29. DWORD CompareString(DWORD dwLcid, DWORD dwFlags, LPSTR lpStr1, INT cch1, LPSTR lpStr2, INT cch2)=
  30. DWORD CompareString32(DWORD dwLcid, DWORD dwFlags, LPSTR lpStr1, INT cch1, LPSTR lpStr2, INT cch2)
  31. {}
  32. WORD TranslateCharsetInfo( LPVOID lpSrc, LPCHARSETINFO lpDst, DWORD dwFlags) =
  33. WORD TranslateCharsetInfo32( LPVOID lpSrc, LPCHARSETINFO lpDst, DWORD dwFlags)
  34. {
  35. lpDst = output;
  36. lpSrc = passifhinull;
  37. }
  38. DWORD CharUpperBuff( LPSTR lpsz, UINT cch )=
  39. DWORD CharUpperBuffA( LPSTR lpsz, UINT cch)
  40. {}
  41. DWORD CharLowerBuff( LPSTR lpsz, UINT cch )=
  42. DWORD CharLowerBuffA( LPSTR lpsz, UINT cch)
  43. {}
  44. BOOL IsCharAlpha32( BYTE ch )=
  45. BOOL IsCharAlphaA( BYTE ch )
  46. {}
  47. BOOL IsCharUpper32( BYTE ch )=
  48. BOOL IsCharUpperA( BYTE ch )
  49. {}
  50. BOOL IsCharLower32( BYTE ch )=
  51. BOOL IsCharLowerA( BYTE ch )
  52. {}
  53. BOOL IsCharAlphaNumeric32( BYTE ch )=
  54. BOOL IsCharAlphaNumericA( BYTE ch )
  55. {}
  56. DWORD CharNext( LPSTR lpCh )=
  57. DWORD CharNextA( LPSTR lpCh )
  58. {}
  59. DWORD CharPrev( LPSTR lpCh, LPSTR lpFirst )=
  60. DWORD CharPrevA( LPSTR lpCh, LPSTR lpFirst )
  61. {}
  62. INT LCMapString(DWORD lcid, DWORD dwFlags, LPSTR lpSrc, UINT cchSrc, LPSTR lpDst, UINT cchDst )=
  63. INT LCMapString32(DWORD lcid, DWORD dwFlags, LPSTR lpSrc, UINT cchSrc, LPSTR lpDst, UINT cchDst )
  64. {}
  65. BOOL IsValidLocale(DWORD lcid, DWORD dwFlags) =
  66. BOOL IsValidLocale32(DWORD lcid, DWORD dwFlags)
  67. {}
  68. INT EditWordBreakProcThunk(LPSTR, INT, INT, INT, DWORD dwTarget)
  69. {
  70. target = Callback20;
  71. releasewin16lock = true;
  72. }
  73. BOOL PropEnumProcThunk(HWND, LPSTR, DWORD, DWORD dwTarget)
  74. {
  75. target = Callback16;
  76. releasewin16lock = true;
  77. }
  78. BOOL PropEnumProcExThunk(HWND, LPSTR, DWORD, DWORD, DWORD dwTarget)
  79. {
  80. target = Callback20;
  81. releasewin16lock = true;
  82. }
  83. DWORD GlobalAlloc32(UINT flags, DWORD cbSize) =
  84. DWORD GlobalAlloc(UINT flags, DWORD cbSize)
  85. {
  86. }
  87. DWORD GlobalLock32(DWORD hglob) =
  88. DWORD GlobalLock(DWORD hglob)
  89. {
  90. }
  91. DWORD GlobalUnlock32(DWORD hglob) =
  92. DWORD GlobalUnlock(DWORD hglob)
  93. {
  94. }
  95. DWORD GlobalFree32(DWORD hglob) =
  96. DWORD GlobalFree(DWORD hglob)
  97. {
  98. }
  99. BOOL ScaleDIB(LPVOID, LPVOID, LPVOID, LPVOID) =
  100. BOOL ScaleDIB(LPVOID, LPVOID, LPVOID, LPVOID)
  101. {
  102. }
  103. DWORD ConvertOleClipData(DWORD, DWORD) =
  104. DWORD ConvertOleClipData(DWORD, DWORD)
  105. {
  106. releasewin16lock = true;
  107. }
  108. //
  109. // WINABLE
  110. // For ACTIVE ACCESSIBILITY
  111. //
  112. void Call32BitEventProc(DWORD lpfnHook, DWORD hEvent, DWORD event,
  113. DWORD hwnd, DWORD idObject, DWORD indexElement, DWORD idEventThread,
  114. DWORD dwmsEventTime) =
  115. void Call32BitEventProc(DWORD lpfnHook, DWORD hEvent, DWORD event,
  116. DWORD hwnd, DWORD idObject, DWORD indexElement, DWORD idEventThread,
  117. DWORD dwmsEventTime)
  118. {
  119. releasewin16lock = true;
  120. }
  121. //
  122. // DRAG And Drop Menu
  123. // For OLE32.
  124. //
  125. BOOL User32RegisterDragDrop(HWND hwnd, DWORD) =
  126. BOOL User32RegisterDragDrop(HWND hwnd, DWORD)
  127. {
  128. releasewin16lock = true;
  129. }
  130. BOOL User32RevokeDragDrop(HWND hwnd, DWORD) =
  131. BOOL User32RevokeDragDrop(HWND hwnd, DWORD)
  132. {
  133. releasewin16lock = true;
  134. }
  135. BOOL User32LoadOLE(DWORD) =
  136. BOOL User32LoadOLE(DWORD)
  137. {
  138. releasewin16lock = true;
  139. }
  140. BOOL User32AlphaBlend(DWORD,HDC,int,int,int,int,HDC,int,int,int,int,DWORD) =
  141. BOOL User32AlphaBlend(DWORD,HDC,int,int,int,int,HDC,int,int,int,int,DWORD)
  142. {
  143. }
  144. /*ifdef_FE_APIS
  145. DWORD IMEIndicatorNotify(DWORD, DWORD, DWORD) =
  146. DWORD IMEIndicatorNotify(DWORD, DWORD, DWORD)
  147. {
  148. faulterrorcode = 0;
  149. }
  150. endif_FE_APIS*/
  151. BOOL User32UpdatePowerTimeouts(VOID) =
  152. BOOL User32UpdatePowerTimeouts(VOID)
  153. {
  154. releasewin16lock = true;
  155. }
  156. BOOL User32NotifyDeviceBroadcast(DWORD, DWORD, DWORD) =
  157. BOOL User32NotifyDeviceBroadcast(DWORD, DWORD, DWORD)
  158. {
  159. releasewin16lock = true;
  160. }
  161. BOOL User32RemoveDeviceNotificationHandles(DWORD) =
  162. BOOL User32RemoveDeviceNotificationHandles(DWORD)
  163. {
  164. releasewin16lock = true;
  165. }
  166. BOOL User32GetModuleName(WORD cs, DWORD eip, LPSTR lpstr, LPWORD lpwSegNum) =
  167. BOOL User32GetModuleName(WORD cs, DWORD eip, LPSTR lpstr, LPWORD lpwSegNum)
  168. {
  169. releasewin16lock = true;
  170. }