Mike Hearn wrote:
--- /dev/null 2006-04-23 09:28:32.000000000 +0100 +++ hq/dlls/mscat32/mscat32.spec 2006-04-29 00:35:51.000000000 +0100 @@ -0,0 +1,38 @@ +# This DLL just forwards to wintrust ... if a stub is filled out there, forward it here
Why don't you just forward all entry points to wintrust? Would save from ever having to touch this file again. For the program it dosn't make a difference if it crashes due to a stub in mscat32 or wintrust.
bye michael
+1 stub CryptCATVerifyMember +2 stub CatalogCompactHashDatabase +3 stdcall CryptCATAdminAcquireContext(long ptr long) wintrust.CryptCATAdminAcquireContext +4 stub CryptCATAdminAddCatalog +5 stdcall CryptCATAdminCalcHashFromFileHandle(long ptr ptr long) wintrust.CryptCATAdminCalcHashFromFileHandle +6 stub CryptCATAdminEnumCatalogFromHash +7 stub CryptCATAdminReleaseCatalogContext +8 stdcall CryptCATAdminReleaseContext(long long) wintrust.CryptCATAdminReleaseContext +9 stub CryptCATCDFClose +10 stub CryptCATCDFEnumAttributes +11 stub CryptCATCDFEnumAttributesWithCDFTag +12 stub CryptCATCDFEnumCatAttributes +13 stub CryptCATCDFEnumMembers +14 stub CryptCATCDFEnumMembersByCDFTag +15 stub CryptCATCDFEnumMembersByCDFTagEx +16 stub CryptCATCDFOpen +17 stub CryptCATCatalogInfoFromContext +18 stub CryptCATClose +19 stub CryptCATEnumerateAttr +20 stub CryptCATEnumerateCatAttr +21 stub CryptCATEnumerateMember +22 stub CryptCATGetAttrInfo +23 stub CryptCATGetCatAttrInfo +24 stub CryptCATGetMemberInfo +25 stub CryptCATHandleFromStore +26 stub CryptCATOpen +27 stub CryptCATPersistStore +28 stub CryptCATPutAttrInfo +29 stub CryptCATPutCatAttrInfo +30 stub CryptCATPutMemberInfo +31 stub CryptCATStoreFromHandle +32 stdcall -private DllRegisterServer() wintrust.mscat32DllRegisterServer +33 stdcall -private DllUnregisterServer() wintrust.mscat32DllUnregisterServer +34 stub IsCatalogFile +35 stub MsCatConstructHashTag +36 stub MsCatFreeHashTag
On 4/29/06, Michael Stefaniuc mstefani@redhat.com wrote:
Why don't you just forward all entry points to wintrust? Would save from ever having to touch this file again. For the program it dosn't make a difference if it crashes due to a stub in mscat32 or wintrust.
I wasn't sure if you could forward stubs, or forward to stubs, or if that made sense to do so.
Also it was kind of late and I didn't want to go through every function finding out its prototype and writing the arguments in :)
If it's possible to do something like
34 stub IsCatalogFile wintrust.IsCatalogFile
then I guess that would make sense,
thanks -mike
"Mike Hearn" mike@plan99.net wrote:
If it's possible to do something like
34 stub IsCatalogFile wintrust.IsCatalogFile
then I guess that would make sense,
No, that doesn't make sense, you need to create proper forwarders with all arguments. That's a little bit more work though.