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.

59 lines
1.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: stksw.hxx
  7. //
  8. // Contents: 32-bit private function declarations
  9. //
  10. // History: 5-Dec-94 JohannP Created
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifndef _STKSW_
  14. #define _STKSW_
  15. #ifdef _CHICAGO_
  16. DWORD WINAPI SSCallback16(DWORD vpfn16, DWORD dwParam);
  17. BOOL WINAPI SSCallback16Ex(
  18. DWORD vpfn16,
  19. DWORD dwFlags,
  20. DWORD cbArgs,
  21. PVOID pArgs,
  22. PDWORD pdwRetCode
  23. );
  24. #define CallbackTo16(a,b) SSCallback16(a,b)
  25. #define CallbackTo16Ex(a,b,c,d,e) SSCallback16Ex(a,b,c,d,e)
  26. STDAPI_(DWORD) SSAPI(InvokeOn32)(DWORD dw1, DWORD dwMethod, LPVOID pvStack16);
  27. #undef SSONBIGSTACK
  28. #undef SSONSMALLSTACK
  29. #if DBG==1
  30. extern BOOL fSSOn;
  31. #define SSONBIGSTACK() (fSSOn && SSOnBigStack())
  32. #define SSONSMALLSTACK() (fSSOn && !SSOnBigStack())
  33. #else
  34. #define SSONBIGSTACK() (SSOnBigStack())
  35. #define SSONSMALLSTACK() (!SSOnBigStack())
  36. #endif
  37. #else
  38. #define CallbackTo16(a,b) WOWCallback16(a,b)
  39. #define CallbackTo16Ex(a,b,c,d,e) WOWCallback16Ex(a,b,c,d,e)
  40. #define SSONBIGSTACK() (SSOnBigStack())
  41. #define SSONSMALLSTACK() (!SSOnBigStack())
  42. #endif // _CHICAGO
  43. #endif // _STKSW_
  44.