Juan Lang : wintrust: Add stub for WVTAsn1SpcFinancialCriteriaInfoEncode.

Alexandre Julliard julliard at winehq.org
Tue Nov 4 07:29:00 CST 2008


Module: wine
Branch: master
Commit: c196e2eea0875fd2d475328709d12add75f10e52
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c196e2eea0875fd2d475328709d12add75f10e52

Author: Juan Lang <juan.lang at gmail.com>
Date:   Mon Nov  3 14:54:32 2008 -0800

wintrust: Add stub for WVTAsn1SpcFinancialCriteriaInfoEncode.

---

 dlls/wintrust/asn.c         |    9 +++++++++
 dlls/wintrust/wintrust.spec |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/dlls/wintrust/asn.c b/dlls/wintrust/asn.c
index cc877dc..d64a9e3 100644
--- a/dlls/wintrust/asn.c
+++ b/dlls/wintrust/asn.c
@@ -936,6 +936,15 @@ BOOL WINAPI WVTAsn1CatNameValueEncode(DWORD dwCertEncodingType,
     return ret;
 }
 
+BOOL WINAPI WVTAsn1SpcFinancialCriteriaInfoEncode(DWORD dwCertEncodingType,
+ LPCSTR lpszStructType, const void *pvStructInfo, BYTE *pbEncoded,
+ DWORD *pcbEncoded)
+{
+    FIXME("(0x%08x, %s, %p, %p, %p): stub\n", dwCertEncodingType,
+     debugstr_a(lpszStructType), pvStructInfo, pbEncoded, pcbEncoded);
+    return FALSE;
+}
+
 /* Gets the number of length bytes from the given (leading) length byte */
 #define GET_LEN_BYTES(b) ((b) <= 0x7f ? 1 : 1 + ((b) & 0x7f))
 
diff --git a/dlls/wintrust/wintrust.spec b/dlls/wintrust/wintrust.spec
index 83d41db..2d03bdf 100644
--- a/dlls/wintrust/wintrust.spec
+++ b/dlls/wintrust/wintrust.spec
@@ -91,7 +91,7 @@
 @ stdcall WVTAsn1CatNameValueDecode(long str ptr long long ptr ptr)
 @ stdcall WVTAsn1CatNameValueEncode(long str ptr ptr ptr)
 @ stub WVTAsn1SpcFinancialCriteriaInfoDecode
-@ stub WVTAsn1SpcFinancialCriteriaInfoEncode
+@ stdcall WVTAsn1SpcFinancialCriteriaInfoEncode(long str ptr ptr ptr)
 @ stdcall WVTAsn1SpcIndirectDataContentDecode(long str ptr long long ptr ptr)
 @ stdcall WVTAsn1SpcIndirectDataContentEncode(long str ptr ptr ptr)
 @ stdcall WVTAsn1SpcLinkDecode(long str ptr long long ptr ptr)




More information about the wine-cvs mailing list