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.

40 lines
827 B

  1. /*++
  2. * intthunk.h
  3. *
  4. * WOW v5.0
  5. *
  6. * Copyright 1996, Microsoft Corporation. All Rights Reserved.
  7. *
  8. * WOW32.C
  9. * WOW32 16-bit API support
  10. *
  11. * History:
  12. * Created 7-Dec-96 DaveHart
  13. *
  14. --*/
  15. ULONG FASTCALL InterpretThunk(PVDMFRAME pFrame, DWORD dwIntThunkID);
  16. //
  17. // Win32 "APIs" which aren't in any headers.
  18. //
  19. BOOL APIENTRY SetMagicColors(HDC,PALETTEENTRY,ULONG); // from ntgdi\inc\ntgdi.h
  20. int APIENTRY GetRelAbs(HDC,INT);
  21. int APIENTRY SetRelAbs(HDC,INT);
  22. //
  23. // IT() Macro for use in WOW thunk tables (w?tbl2.h)
  24. //
  25. #define IT(Name) ((LPFNW32) ITID_##Name )
  26. typedef struct _INT_THUNK_TABLEENTRY {
  27. FARPROC pfnAPI;
  28. CONST BYTE *pbInstr;
  29. } INT_THUNK_TABLEENTRY;
  30. typedef CONST INT_THUNK_TABLEENTRY * PINT_THUNK_TABLEENTRY;
  31. #ifndef WOWIT_C
  32. extern CONST INT_THUNK_TABLEENTRY IntThunkTable[];
  33. #endif