Fixed definitions of TTTOOLINFOA/W_V1_SIZE and
[wine] / dlls / imagehlp / integrity.c
1 /*
2  *      IMAGEHLP library
3  *
4  *      Copyright 1998  Patrik Stridvall
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include <stdarg.h>
22
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winerror.h"
26 #include "imagehlp.h"
27 #include "wine/debug.h"
28
29 WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
30
31 /***********************************************************************
32  *              ImageAddCertificate (IMAGEHLP.@)
33  */
34
35 BOOL WINAPI ImageAddCertificate(
36   HANDLE FileHandle, PWIN_CERTIFICATE Certificate, PDWORD Index)
37 {
38   FIXME("(%p, %p, %p): stub\n",
39     FileHandle, Certificate, Index
40   );
41   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
42   return FALSE;
43 }
44
45 /***********************************************************************
46  *              ImageEnumerateCertificates (IMAGEHLP.@)
47  */
48 BOOL WINAPI ImageEnumerateCertificates(
49   HANDLE FileHandle, WORD TypeFilter, PDWORD CertificateCount,
50   PDWORD Indices, DWORD IndexCount)
51 {
52   FIXME("(%p, %hd, %p, %p, %ld): stub\n",
53     FileHandle, TypeFilter, CertificateCount, Indices, IndexCount
54   );
55   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
56   return FALSE;
57 }
58
59 /***********************************************************************
60  *              ImageGetCertificateData (IMAGEHLP.@)
61  */
62 BOOL WINAPI ImageGetCertificateData(
63   HANDLE FileHandle, DWORD CertificateIndex,
64   PWIN_CERTIFICATE Certificate, PDWORD RequiredLength)
65 {
66   FIXME("(%p, %ld, %p, %p): stub\n",
67     FileHandle, CertificateIndex, Certificate, RequiredLength
68   );
69   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
70   return FALSE;
71 }
72
73 /***********************************************************************
74  *              ImageGetCertificateHeader (IMAGEHLP.@)
75  */
76 BOOL WINAPI ImageGetCertificateHeader(
77   HANDLE FileHandle, DWORD CertificateIndex,
78   PWIN_CERTIFICATE Certificateheader)
79 {
80   FIXME("(%p, %ld, %p): stub\n",
81     FileHandle, CertificateIndex, Certificateheader
82   );
83   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
84   return FALSE;
85 }
86
87 /***********************************************************************
88  *              ImageGetDigestStream (IMAGEHLP.@)
89  */
90 BOOL WINAPI ImageGetDigestStream(
91   HANDLE FileHandle, DWORD DigestLevel,
92   DIGEST_FUNCTION DigestFunction, DIGEST_HANDLE DigestHandle)
93 {
94   FIXME("(%p, %ld, %p, %p): stub\n",
95     FileHandle, DigestLevel, DigestFunction, DigestHandle
96   );
97   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
98   return FALSE;
99 }
100
101 /***********************************************************************
102  *              ImageRemoveCertificate (IMAGEHLP.@)
103  */
104 BOOL WINAPI ImageRemoveCertificate(HANDLE FileHandle, DWORD Index)
105 {
106   FIXME("(%p, %ld): stub\n", FileHandle, Index);
107   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
108   return FALSE;
109 }