WindowsXP-SP1/com/ole32/olethunk/h/stksw.hxx
2020-09-30 16:53:49 +02:00

60 lines
1.4 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: stksw.hxx
//
// Contents: 32-bit private function declarations
//
// History: 5-Dec-94 JohannP Created
//
//----------------------------------------------------------------------------
#ifndef _STKSW_
#define _STKSW_
#ifdef _CHICAGO_
DWORD WINAPI SSCallback16(DWORD vpfn16, DWORD dwParam);
BOOL WINAPI SSCallback16Ex(
DWORD vpfn16,
DWORD dwFlags,
DWORD cbArgs,
PVOID pArgs,
PDWORD pdwRetCode
);
#define CallbackTo16(a,b) SSCallback16(a,b)
#define CallbackTo16Ex(a,b,c,d,e) SSCallback16Ex(a,b,c,d,e)
STDAPI_(DWORD) SSAPI(InvokeOn32)(DWORD dw1, DWORD dwMethod, LPVOID pvStack16);
#undef SSONBIGSTACK
#undef SSONSMALLSTACK
#if DBG==1
extern BOOL fSSOn;
#define SSONBIGSTACK() (fSSOn && SSOnBigStack())
#define SSONSMALLSTACK() (fSSOn && !SSOnBigStack())
#else
#define SSONBIGSTACK() (SSOnBigStack())
#define SSONSMALLSTACK() (!SSOnBigStack())
#endif
#else
#define CallbackTo16(a,b) WOWCallback16(a,b)
#define CallbackTo16Ex(a,b,c,d,e) WOWCallback16Ex(a,b,c,d,e)
#define SSONBIGSTACK() (SSOnBigStack())
#define SSONSMALLSTACK() (!SSOnBigStack())
#endif // _CHICAGO
#endif // _STKSW_