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.

65 lines
1006 B

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, 1992, 1993 Microsoft Corporation
  6. *
  7. * WOWTBL.H
  8. * WOW32 API thunk table
  9. *
  10. --*/
  11. /* thunk table
  12. */
  13. extern W32 aw32WOW[];
  14. //
  15. // the order of these must not change! see kernel31\kdata.asm
  16. //
  17. typedef struct {
  18. WORD kernel;
  19. WORD dkernel;
  20. WORD user;
  21. WORD duser;
  22. WORD gdi;
  23. WORD dgdi;
  24. WORD keyboard;
  25. WORD sound;
  26. WORD shell;
  27. WORD winsock;
  28. WORD toolhelp;
  29. WORD mmedia;
  30. WORD commdlg;
  31. #ifdef FE_IME
  32. WORD winnls;
  33. #endif // FE_IME
  34. #ifdef FE_SB
  35. WORD wifeman;
  36. #endif // FE_SB
  37. } TABLEOFFSETS;
  38. typedef TABLEOFFSETS UNALIGNED *PTABLEOFFSETS;
  39. VOID InitThunkTableOffsets(VOID);
  40. extern TABLEOFFSETS tableoffsets;
  41. #ifdef DEBUG_OR_WOWPROFILE
  42. extern PSZ apszModNames[];
  43. extern INT nModNames;
  44. extern INT cAPIThunks;
  45. INT ModFromCallID(INT iFun);
  46. PSZ GetModName(INT iFun);
  47. INT GetOrdinal(INT iFun);
  48. INT TableOffsetFromName(PSZ szTab);
  49. #endif