comparison loader/win32.c @ 26444:cea51ac82475

Support for MSU SCLS (Screen Capture Lossless Codec) with SCLS.DLL codecs.conf patch by AsSlowAsHell |asslowashell | g m a i l| win32.c patch by me
author rtogni
date Sun, 20 Apr 2008 21:13:17 +0000
parents 586d7ee3c106
children 593921728191
comparison
equal deleted inserted replaced
26443:e0842af76afd 26444:cea51ac82475
4832 // Fake implementation of _decode_pointer from msvcr80.dll, needed by sirenacm.dll 4832 // Fake implementation of _decode_pointer from msvcr80.dll, needed by sirenacm.dll
4833 // NOTE: undocumented function, probably the declaration is not right 4833 // NOTE: undocumented function, probably the declaration is not right
4834 static int exp_decode_pointer(void *ptr) 4834 static int exp_decode_pointer(void *ptr)
4835 { 4835 {
4836 dbgprintf("_decode_pointer (0x%08x)\n", ptr); 4836 dbgprintf("_decode_pointer (0x%08x)\n", ptr);
4837 return 0;
4838 }
4839
4840 /* Fake implementation of sdt::_Lockit::_Lockit(void) from msvcp60.dll
4841 Needed by SCLS.DLL */
4842 static int exp_0Lockit_dummy(void)
4843 {
4844 dbgprintf("0Lockit_dummy (??0_Lockit@std@@QAE@XZ)\n");
4845 return 0;
4846 }
4847
4848 /* Fake implementation of sdt::_Lockit::~_Lockit(void) from msvcp60.dll
4849 Needed by SCLS.DLL */
4850 static int exp_1Lockit_dummy(void)
4851 {
4852 dbgprintf("1Lockit_dummy (??1_Lockit@std@@QAE@XZ)\n");
4837 return 0; 4853 return 0;
4838 } 4854 }
4839 4855
4840 struct exports 4856 struct exports
4841 { 4857 {
5274 FF(_initterm_e, -1) 5290 FF(_initterm_e, -1)
5275 FF(_initterm, -1) 5291 FF(_initterm, -1)
5276 FF(_decode_pointer, -1) 5292 FF(_decode_pointer, -1)
5277 }; 5293 };
5278 5294
5295 struct exports exp_msvcp60[]={
5296 {"??0_Lockit@std@@QAE@XZ", -1, exp_0Lockit_dummy},
5297 {"??1_Lockit@std@@QAE@XZ", -1, exp_1Lockit_dummy}
5298 };
5299
5279 #define LL(X) \ 5300 #define LL(X) \
5280 {#X".dll", sizeof(exp_##X)/sizeof(struct exports), exp_##X}, 5301 {#X".dll", sizeof(exp_##X)/sizeof(struct exports), exp_##X},
5281 5302
5282 struct libs libraries[]={ 5303 struct libs libraries[]={
5283 LL(kernel32) 5304 LL(kernel32)
5300 LL(ddraw) 5321 LL(ddraw)
5301 #endif 5322 #endif
5302 LL(comdlg32) 5323 LL(comdlg32)
5303 LL(shlwapi) 5324 LL(shlwapi)
5304 LL(msvcr80) 5325 LL(msvcr80)
5326 LL(msvcp60)
5305 }; 5327 };
5306 5328
5307 static WIN_BOOL WINAPI ext_stubs(void) 5329 static WIN_BOOL WINAPI ext_stubs(void)
5308 { 5330 {
5309 volatile int idx = 0xdeadabcd; 5331 volatile int idx = 0xdeadabcd;