Added some more stubs.
[wine] / dlls / crypt32 / main.c
1 /*
2  * Copyright 2002 Mike McCormack for Codeweavers
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #include "config.h"
20 #include "winbase.h"
21 #include "wincrypt.h"
22 /* #include "mssip.h" */
23 #include "wine/debug.h"
24
25 WINE_DEFAULT_DEBUG_CHANNEL(crypt);
26
27 typedef struct SIP_DISPATCH_INFO_ SIP_DISPATCH_INFO, *LPSIP_DISPATCH_INFO;
28 typedef struct SIP_ADD_NEWPROVIDER_ SIP_ADD_NEWPROVIDER, *PSIP_ADD_NEWPROVIDER;
29
30 /* this function is called by Internet Explorer when it is about to verify a downloaded component */
31 BOOL WINAPI I_CryptCreateLruCache(DWORD x, DWORD y)
32 {
33     FIXME("stub!\n");
34     return FALSE;
35 }
36
37 /* these functions all have an unknown number of args */
38 BOOL WINAPI I_CryptFindLruEntryData(DWORD x)
39 {
40     FIXME("stub!\n");
41     return FALSE;
42 }
43
44 BOOL WINAPI I_CryptFlushLruCache(DWORD x)
45 {
46     FIXME("stub!\n");
47     return FALSE;
48 }
49
50 BOOL WINAPI I_CryptFreeLruCache(DWORD x)
51 {
52     FIXME("stub!\n");
53     return FALSE;
54 }
55
56 BOOL WINAPI CryptSIPRemoveProvider(GUID *pgProv)
57 {
58     FIXME("stub!\n");
59     return FALSE;
60 }
61
62 BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
63 {
64     FIXME("stub!\n");
65     return FALSE;
66 }
67
68 BOOL WINAPI CryptSIPRetrieveSubjectGuid
69       (LPCWSTR FileName, OPTIONAL HANDLE hFileIn, GUID *pgSubject)
70 {
71     FIXME("stub!\n");
72     return FALSE;
73 }
74
75 BOOL WINAPI CryptSIPLoad
76        (const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)
77 {
78     FIXME("stub!\n");
79     return FALSE;
80 }
81
82 BOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName,
83                                      LPCSTR pszOID, LPCWSTR pwszValueName,
84                                      DWORD *pdwValueType, BYTE *pbValueData,
85                                      DWORD *pcbValueData)
86 {
87     FIXME("(%lx,%s,%s,%s,%p,%p,%p) stub!\n", dwEncodingType, pszFuncName, pszOID,
88           debugstr_w(pwszValueName), pdwValueType, pbValueData, pcbValueData);
89     return FALSE;
90 }
91
92 BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
93                                      LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName)
94 {
95     FIXME("(%lx,%s,%s,%s,%s) stub!\n", dwEncodingType, pszFuncName, pszOID,
96           debugstr_w(pwszDll), pszOverrideFuncName);
97     return FALSE;
98 }