mirror of https://github.com/tongzx/nt5src
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.
34 lines
1.1 KiB
34 lines
1.1 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1993.
|
|
//
|
|
// File: call32.hxx
|
|
//
|
|
// Contents: 16->32 call helpers
|
|
//
|
|
// History: 18-Feb-94 DrewB Created
|
|
// 15-Mar-95 AlexGo Added AddAppCompatFlag
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef __CALL32_HXX__
|
|
#define __CALL32_HXX__
|
|
|
|
extern LPVOID lpIUnknownObj32; // Address of IUnknown methods on 32-bits
|
|
|
|
STDAPI_(BOOL) Call32Initialize(void);
|
|
STDAPI_(void) Call32Uninitialize(void);
|
|
|
|
STDAPI CallThkMgrInitialize(void);
|
|
STDAPI_(void) CallThkMgrUninitialize(void);
|
|
|
|
STDAPI_(DWORD) CallObjectInWOW(DWORD dwMethod, LPVOID pvStack);
|
|
STDAPI_(DWORD) CallObjectInWOWCheckInit(DWORD dwMethod, LPVOID pvStack);
|
|
STDAPI_(DWORD) CallObjectInWOWCheckThkMgr(DWORD dwMethod, LPVOID pvStack);
|
|
|
|
STDAPI_(DWORD) LoadLibraryInWOW(LPCSTR pszLibName, DWORD dwFlags);
|
|
STDAPI_(LPVOID) GetProcAddressInWOW(DWORD hModule, LPCSTR pszProcName);
|
|
STDAPI_(void) AddAppCompatFlag( DWORD dwFlag );
|
|
|
|
#endif // #ifndef __CALL32_HXX__
|