Windows2003-3790/windows/appcompat/shims/external/main.cpp

54 lines
1.1 KiB
C++
Raw Normal View History

2001-01-01 00:00:00 +01: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()