Don't look at the second character of the path unless the first
[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 "windef.h"
22 #include "winbase.h"
23 #include "winerror.h"
24 #include "imagehlp.h"
25 #include "wine/debug.h"
26
27 WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
28
29 /***********************************************************************
30  *              ImageAddCertificate (IMAGEHLP.@)
31  */
32
33 BOOL WINAPI ImageAddCertificate(
34   HANDLE FileHandle, PWIN_CERTIFICATE Certificate, PDWORD Index)
35 {
36   FIXME("(%p, %p, %p): stub\n",
37     FileHandle, Certificate, Index
38   );
39   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
40   return FALSE;
41 }
42
43 /***********************************************************************
44  *              ImageEnumerateCertificates (IMAGEHLP.@)
45  */
46 BOOL WINAPI ImageEnumerateCertificates(
47   HANDLE FileHandle, WORD TypeFilter, PDWORD CertificateCount,
48   PDWORD Indices, DWORD IndexCount)
49 {
50   FIXME("(%p, %hd, %p, %p, %ld): stub\n",
51     FileHandle, TypeFilter, CertificateCount, Indices, IndexCount
52   );
53   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
54   return FALSE;
55 }
56
57 /***********************************************************************
58  *              ImageGetCertificateData (IMAGEHLP.@)
59  */
60 BOOL WINAPI ImageGetCertificateData(
61   HANDLE FileHandle, DWORD CertificateIndex,
62   PWIN_CERTIFICATE Certificate, PDWORD RequiredLength)
63 {
64   FIXME("(%p, %ld, %p, %p): stub\n",
65     FileHandle, CertificateIndex, Certificate, RequiredLength
66   );
67   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
68   return FALSE;
69 }
70
71 /***********************************************************************
72  *              ImageGetCertificateHeader (IMAGEHLP.@)
73  */
74 BOOL WINAPI ImageGetCertificateHeader(
75   HANDLE FileHandle, DWORD CertificateIndex,
76   PWIN_CERTIFICATE Certificateheader)
77 {
78   FIXME("(%p, %ld, %p): stub\n",
79     FileHandle, CertificateIndex, Certificateheader
80   );
81   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
82   return FALSE;
83 }
84
85 /***********************************************************************
86  *              ImageGetDigestStream (IMAGEHLP.@)
87  */
88 BOOL WINAPI ImageGetDigestStream(
89   HANDLE FileHandle, DWORD DigestLevel,
90   DIGEST_FUNCTION DigestFunction, DIGEST_HANDLE DigestHandle)
91 {
92   FIXME("(%p, %ld, %p, %p): stub\n",
93     FileHandle, DigestLevel, DigestFunction, DigestHandle
94   );
95   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
96   return FALSE;
97 }
98
99 /***********************************************************************
100  *              ImageRemoveCertificate (IMAGEHLP.@)
101  */
102 BOOL WINAPI ImageRemoveCertificate(HANDLE FileHandle, DWORD Index)
103 {
104   FIXME("(%p, %ld): stub\n", FileHandle, Index);
105   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
106   return FALSE;
107 }