4 * @brief define the suffixes to decorate TCHAR width specific module/function names
10 #define DECORATE_U "U"
12 #define DECORATE_A "A"
16 #define DECORATE_AW DECORATE_A DECORATE_W
19 * @brief stub class to help implement DLL proxies
21 * A DLLPSTUB must be embedded in an object followed immediately by a
22 * char array name of the DLL to load
28 * If dll is not found, DLLPSTUB::Load will throw an exception
29 * If any of dwMajorVersion, dwMinorVersion, dwBuildNumber are non-zero
30 * the DLLPSTUB::Load will throw an exception (CO_S_NOTALLINTERFACES) unless
31 * the dll exports DllGetVersion and reports a version at least as high as
32 * requested by these members
36 DWORD dwMajorVersion; // Major version
37 DWORD dwMinorVersion; // Minor version
38 DWORD dwBuildNumber; // Build number
39 DWORD dwPadding; // Pad to 64 bit boundary
40 static void Throw(LPCSTR name, HMODULE, DWORD dwError, bool bFreeLibrary);