Use native msi until our own implementation works decently.
[wine/wine-kai.git] / dlls / crypt32 / main.c
blobcf66afcbc4c37f76a1f8790cd4c032b014985d95
1 /*
2 * Copyright 2002 Mike McCormack for CodeWeavers
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.
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.
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
19 #include "config.h"
20 #include <stdarg.h>
22 #include "windef.h"
23 #include "winbase.h"
24 #include "wincrypt.h"
25 #include "mssip.h"
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(crypt);
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)
33 FIXME("stub!\n");
34 return FALSE;
37 /* these functions all have an unknown number of args */
38 BOOL WINAPI I_CryptFindLruEntryData(DWORD x)
40 FIXME("stub!\n");
41 return FALSE;
44 BOOL WINAPI I_CryptFlushLruCache(DWORD x)
46 FIXME("stub!\n");
47 return FALSE;
50 BOOL WINAPI I_CryptFreeLruCache(DWORD x)
52 FIXME("stub!\n");
53 return FALSE;
57 * (0x1001350, %eax, 0, 0, 9);
60 BOOL WINAPI CertOpenStore(LPSTR dw1, DWORD dw2, DWORD dw3, DWORD dw4, DWORD dw5)
62 FIXME("(%s, %ld, %ld, %ld, %ld), stub.\n", debugstr_a(dw1), dw2, dw3, dw4, dw5);
63 return TRUE;
66 BOOL WINAPI CryptSIPRemoveProvider(GUID *pgProv)
68 FIXME("stub!\n");
69 return FALSE;
72 BOOL WINAPI CryptSIPAddProvider(SIP_ADD_NEWPROVIDER *psNewProv)
74 FIXME("stub!\n");
75 return FALSE;
78 BOOL WINAPI CryptSIPRetrieveSubjectGuid
79 (LPCWSTR FileName, HANDLE hFileIn, GUID *pgSubject)
81 FIXME("stub!\n");
82 return FALSE;
85 BOOL WINAPI CryptSIPLoad
86 (const GUID *pgSubject, DWORD dwFlags, SIP_DISPATCH_INFO *pSipDispatch)
88 FIXME("stub!\n");
89 return FALSE;
92 BOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType, LPCSTR pszFuncName,
93 LPCSTR pszOID, LPCWSTR pwszValueName,
94 DWORD *pdwValueType, BYTE *pbValueData,
95 DWORD *pcbValueData)
97 FIXME("(%lx,%s,%s,%s,%p,%p,%p) stub!\n", dwEncodingType, pszFuncName, pszOID,
98 debugstr_w(pwszValueName), pdwValueType, pbValueData, pcbValueData);
99 return FALSE;
102 BOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,
103 LPCSTR pszFuncName, DWORD dwIndex,
104 LPCWSTR pwszDll)
106 FIXME("(%lx,%s,%lx,%s) stub!\n", dwEncodingType, pszFuncName, dwIndex,
107 debugstr_w(pwszDll));
108 return FALSE;
111 BOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType, LPCSTR pszFuncName,
112 LPCSTR pszOID, LPCWSTR pwszDll, LPCSTR pszOverrideFuncName)
114 FIXME("(%lx,%s,%s,%s,%s) stub!\n", dwEncodingType, pszFuncName, pszOID,
115 debugstr_w(pwszDll), pszOverrideFuncName);
116 return FALSE;
119 PCCERT_CONTEXT WINAPI CertEnumCertificatesInStore(HCERTSTORE hCertStore, PCCERT_CONTEXT pPrev)
121 FIXME("(%p,%p)\n", hCertStore, pPrev);
122 return NULL;
125 BOOL WINAPI CertSaveStore(HCERTSTORE hCertStore, DWORD dwMsgAndCertEncodingType,
126 DWORD dwSaveAs, DWORD dwSaveTo, void* pvSaveToPara, DWORD dwFlags)
128 FIXME("(%p,%ld,%ld,%ld,%p,%08lx) stub!\n", hCertStore,
129 dwMsgAndCertEncodingType, dwSaveAs, dwSaveTo, pvSaveToPara, dwFlags);
130 return TRUE;