The LVN_GETDISPINFO notify message should point to the same iSubItem
[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 <stdarg.h>
21
22 #include "windef.h"
23 #include "winbase.h"
24 #include "wincrypt.h"
25 #include "mssip.h"
26 #include "wine/debug.h"
27
28 WINE_DEFAULT_DEBUG_CHANNEL(crypt);
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 /*
57  * (0x1001350, %eax, 0, 0, 9);
58  *
59  */
60 BOOL WINAPI CertOpenStore(LPSTR dw1, DWORD dw2, DWORD dw3, DWORD dw4, DWORD dw5)
61 {
62   FIXME("(%s, %ld, %ld, %ld, %ld), stub.\n", debugstr_a(dw1), dw2, dw3, dw4, dw5);
63   return TRUE;
64 }
65
66 BOOL WINAPI CryptSIPRemoveProvider(GUID *pgProv)
67 {
68     FIXME("stub!\n");
69     return FALSE;
70 }
71
72 BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
73 {
74     FIXME("stub!\n");
75     return FALSE;
76 }
77
78 BOOL WINAPI CryptSIPRetrieveSubjectGuid
79       (LPCWSTR FileName, HANDLE hFileIn, GUID *pgSubject)
80 {
81     FIXME("stub!\n");
82     return FALSE;
83 }
84
85 BOOL WINAPI CryptSIPLoad
86        (const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)
87 {
88     FIXME("stub!\n");
89     return FALSE;
90 }
91
92 BOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName,
93                                      LPCSTR pszOID, LPCWSTR pwszValueName,
94                                      DWORD *pdwValueType, BYTE *pbValueData,
95                                      DWORD *pcbValueData)
96 {
97     FIXME("(%lx,%s,%s,%s,%p,%p,%p) stub!\n", dwEncodingType, pszFuncName, pszOID,
98           debugstr_w(pwszValueName), pdwValueType, pbValueData, pcbValueData);
99     return FALSE;
100 }
101
102 BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
103                                      LPCSTR pszFuncName, DWORD dwIndex,
104                                      LPCWSTR pwszDll)
105 {
106     FIXME("(%lx,%s,%lx,%s) stub!\n", dwEncodingType, pszFuncName, dwIndex,
107           debugstr_w(pwszDll));
108     return FALSE;
109 }
110
111 BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
112                                      LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName)
113 {
114     FIXME("(%lx,%s,%s,%s,%s) stub!\n", dwEncodingType, pszFuncName, pszOID,
115           debugstr_w(pwszDll), pszOverrideFuncName);
116     return FALSE;
117 }
118
119 PCCERT_CONTEXT WINAPI CertEnumCertificatesInStore(HCERTSTORE hCertStore, PCCERT_CONTEXT pPrev)
120 {
121     FIXME("(%p,%p)\n", hCertStore, pPrev);
122     return NULL;
123 }
124
125 BOOL WINAPI CertSaveStore(HCERTSTORE hCertStore, DWORD dwMsgAndCertEncodingType,
126              DWORD dwSaveAs, DWORD dwSaveTo, void* pvSaveToPara, DWORD dwFlags)
127 {
128     FIXME("(%p,%ld,%ld,%ld,%p,%08lx) stub!\n", hCertStore, 
129           dwMsgAndCertEncodingType, dwSaveAs, dwSaveTo, pvSaveToPara, dwFlags);
130     return TRUE;
131 }