1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
//+---------------------------------------------------------------------------
//
// 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_
|