windows-nt/Source/XPSP1/NT/windows/appcompat/shims/external/main.cpp

54 lines
1,023 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
Main.cpp
Abstract:
Container for all shim definitions.
History:
12/11/2000 linstev Created
--*/
#include "precomp.h"
#include "ShimHookMacro.h"
DECLARE_SHIM(EmulateOpenGL)
DECLARE_SHIM(PrinterGetPrtL2)
DECLARE_SHIM(PrinterJTDevmode)
DECLARE_SHIM(TermServLayer)
DECLARE_SHIM(TSPerUserFiles)
VOID MULTISHIM_NOTIFY_FUNCTION()(DWORD fdwReason)
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
DPF("ExternalShims", eDbgLevelSpew, "External Shims initialized.");
break;
case DLL_PROCESS_DETACH:
DPF("ExternalShims", eDbgLevelSpew, "External Shims uninitialized.");
break;
default:
break;
}
}
MULTISHIM_BEGIN()
MULTISHIM_ENTRY(EmulateOpenGL)
MULTISHIM_ENTRY(PrinterGetPrtL2)
MULTISHIM_ENTRY(PrinterJTDevmode)
MULTISHIM_ENTRY(TermServLayer)
MULTISHIM_ENTRY(TSPerUserFiles)
CALL_MULTISHIM_NOTIFY_FUNCTION()
MULTISHIM_END()