TREEVIEW_UpdateScrollBars() now copes with an empty tree.
[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 /* this function is called by Internet Explorer when it is about to verify a downloaded component */
28 BOOL WINAPI I_CryptCreateLruCache(DWORD x, DWORD y)
29 {
30     FIXME("stub!\n");
31     return FALSE;
32 }
33
34 /* these functions all have an unknown number of args */
35 BOOL WINAPI I_CryptFindLruEntryData(DWORD x)
36 {
37     FIXME("stub!\n");
38     return FALSE;
39 }
40
41 BOOL WINAPI I_CryptFlushLruCache(DWORD x)
42 {
43     FIXME("stub!\n");
44     return FALSE;
45 }
46
47 BOOL WINAPI I_CryptFreeLruCache(DWORD x)
48 {
49     FIXME("stub!\n");
50     return FALSE;
51 }
52
53 /*
54  * (0x1001350, %eax, 0, 0, 9);
55  *
56  */
57 BOOL WINAPI CertOpenStore(LPSTR dw1, DWORD dw2, DWORD dw3, DWORD dw4, DWORD dw5)
58 {
59   FIXME("(%s, %ld, %ld, %ld, %ld), stub.\n", debugstr_a(dw1), dw2, dw3, dw4, dw5);
60   return TRUE;
61 }
62
63 BOOL WINAPI CryptSIPRemoveProvider(GUID *pgProv)
64 {
65     FIXME("stub!\n");
66     return FALSE;
67 }
68
69 BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
70 {
71     FIXME("stub!\n");
72     return FALSE;
73 }
74
75 BOOL WINAPI CryptSIPRetrieveSubjectGuid
76       (LPCWSTR FileName, HANDLE hFileIn, GUID *pgSubject)
77 {
78     FIXME("stub!\n");
79     return FALSE;
80 }
81
82 BOOL WINAPI CryptSIPLoad
83        (const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)
84 {
85     FIXME("stub!\n");
86     return FALSE;
87 }
88
89 BOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName,
90                                      LPCSTR pszOID, LPCWSTR pwszValueName,
91                                      DWORD *pdwValueType, BYTE *pbValueData,
92                                      DWORD *pcbValueData)
93 {
94     FIXME("(%lx,%s,%s,%s,%p,%p,%p) stub!\n", dwEncodingType, pszFuncName, pszOID,
95           debugstr_w(pwszValueName), pdwValueType, pbValueData, pcbValueData);
96     return FALSE;
97 }
98
99 BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
100                                      LPCSTR pszFuncName, DWORD dwIndex,
101                                      LPCWSTR pwszDll)
102 {
103     FIXME("(%lx,%s,%lx,%s) stub!\n", dwEncodingType, pszFuncName, dwIndex,
104           debugstr_w(pwszDll));
105     return FALSE;
106 }
107
108 BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
109                                      LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName)
110 {
111     FIXME("(%lx,%s,%s,%s,%s) stub!\n", dwEncodingType, pszFuncName, pszOID,
112           debugstr_w(pwszDll), pszOverrideFuncName);
113     return FALSE;
114 }