From: Mohamad Al-Jaf mohamadaljaf@gmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53296 --- v2: Forward mscorwks StrongNameTokenFromAssembly to mscoree. --- dlls/mscoree/mscoree.spec | 2 +- dlls/mscoree/mscoree_main.c | 6 ++++++ dlls/mscorwks/mscorwks.spec | 2 +- include/strongname.h | 1 + 4 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec index 92dcfd89677..c7b14177534 100644 --- a/dlls/mscoree/mscoree.spec +++ b/dlls/mscoree/mscoree.spec @@ -108,7 +108,7 @@ @ stdcall StrongNameSignatureVerification(wstr long ptr) @ stdcall StrongNameSignatureVerificationEx(wstr long ptr) @ stub StrongNameSignatureVerificationFromImage -@ stub StrongNameTokenFromAssembly +@ stdcall StrongNameTokenFromAssembly(wstr ptr long) @ stub StrongNameTokenFromAssemblyEx @ stub StrongNameTokenFromPublicKey @ stub TranslateSecurityAttributes diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c index e19d50595b4..7bb1b5e3720 100644 --- a/dlls/mscoree/mscoree_main.c +++ b/dlls/mscoree/mscoree_main.c @@ -625,6 +625,12 @@ BOOLEAN WINAPI StrongNameSignatureVerificationEx(LPCWSTR filename, BOOLEAN force return TRUE; }
+BOOLEAN WINAPI StrongNameTokenFromAssembly(LPCWSTR path, BYTE **token, ULONG size) +{ + FIXME("(%s, %p, %lu): stub\n", debugstr_w(path), token, size); + return FALSE; +} + HRESULT WINAPI CreateDebuggingInterfaceFromVersion(int nDebugVersion, LPCWSTR version, IUnknown **ppv) { static const WCHAR v2_0[] = {'v','2','.','0','.','5','0','7','2','7',0}; diff --git a/dlls/mscorwks/mscorwks.spec b/dlls/mscorwks/mscorwks.spec index 617cde3173d..6e36f1f3545 100644 --- a/dlls/mscorwks/mscorwks.spec +++ b/dlls/mscorwks/mscorwks.spec @@ -101,7 +101,7 @@ @ stdcall StrongNameSignatureVerification(wstr long ptr) mscoree.StrongNameSignatureVerification @ stdcall StrongNameSignatureVerificationEx(wstr long ptr) mscoree.StrongNameSignatureVerificationEx @ stub StrongNameSignatureVerificationFromImage -@ stub StrongNameTokenFromAssembly +@ stdcall StrongNameTokenFromAssembly(wstr ptr long) mscoree.StrongNameTokenFromAssembly @ stub StrongNameTokenFromAssemblyEx @ stub StrongNameTokenFromPublicKey @ stub TranslateSecurityAttributes diff --git a/include/strongname.h b/include/strongname.h index f05861ad28d..6f1f873f52e 100644 --- a/include/strongname.h +++ b/include/strongname.h @@ -35,5 +35,6 @@
BOOLEAN __stdcall StrongNameSignatureVerification(const WCHAR *path, DWORD flags, DWORD *ret_flags); BOOLEAN __stdcall StrongNameSignatureVerificationEx(const WCHAR *path, BOOLEAN force, BOOLEAN *verified); +BOOLEAN __stdcall StrongNameTokenFromAssembly(const WCHAR *path, BYTE **token, ULONG size);
#endif