Fixed a slight bug that was included in the change from WND ptr to
[wine] / dlls / imagehlp / integrity.c
1 /*
2  *      IMAGEHLP library
3  *
4  *      Copyright 1998  Patrik Stridvall
5  */
6
7 #include "windef.h"
8 #include "winbase.h"
9 #include "winerror.h"
10 #include "imagehlp.h"
11 #include "debug.h"
12
13 /***********************************************************************
14  *           ImageAddCertificate32 (IMAGEHLP.10)
15  */
16
17 BOOL WINAPI ImageAddCertificate(
18   HANDLE FileHandle, PWIN_CERTIFICATE Certificate, PDWORD Index)
19 {
20   FIXME(imagehlp, "(0x%08x, %p, %p): stub\n",
21     FileHandle, Certificate, Index
22   );
23   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
24   return FALSE;
25 }
26
27 /***********************************************************************
28  *           ImageEnumerateCertificates32 (IMAGEHLP.12)
29  */
30 BOOL WINAPI ImageEnumerateCertificates(
31   HANDLE FileHandle, WORD TypeFilter, PDWORD CertificateCount,
32   PDWORD Indices, DWORD IndexCount)
33 {
34   FIXME(imagehlp, "(0x%08x, %hd, %p, %p, %ld): stub\n",
35     FileHandle, TypeFilter, CertificateCount, Indices, IndexCount
36   );
37   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
38   return FALSE;
39 }
40
41 /***********************************************************************
42  *           ImageGetCertificateData32 (IMAGEHLP.13)
43  */
44 BOOL WINAPI ImageGetCertificateData(
45   HANDLE FileHandle, DWORD CertificateIndex,
46   PWIN_CERTIFICATE Certificate, PDWORD RequiredLength)
47 {
48   FIXME(imagehlp, "(0x%08x, %ld, %p, %p): stub\n",
49     FileHandle, CertificateIndex, Certificate, RequiredLength
50   );
51   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
52   return FALSE;
53 }
54
55 /***********************************************************************
56  *           ImageGetCertificateHeader32 (IMAGEHLP.14)
57  */
58 BOOL WINAPI ImageGetCertificateHeader(
59   HANDLE FileHandle, DWORD CertificateIndex,
60   PWIN_CERTIFICATE Certificateheader)
61 {
62   FIXME(imagehlp, "(0x%08x, %ld, %p): stub\n",
63     FileHandle, CertificateIndex, Certificateheader
64   );
65   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
66   return FALSE;
67 }
68
69 /***********************************************************************
70  *           ImageGetDigestStream32 (IMAGEHLP.15)
71  */
72 BOOL WINAPI ImageGetDigestStream(
73   HANDLE FileHandle, DWORD DigestLevel,
74   DIGEST_FUNCTION DigestFunction, DIGEST_HANDLE DigestHandle)
75 {
76   FIXME(imagehlp, "(%0x08x, %ld, %p, %p): stub\n",
77     FileHandle, DigestLevel, DigestFunction, DigestHandle
78   );
79   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
80   return FALSE;
81 }
82
83 /***********************************************************************
84  *           ImageRemoveCertificate32 (IMAGEHLP.18)
85  */
86 BOOL WINAPI ImageRemoveCertificate(HANDLE FileHandle, DWORD Index)
87 {
88   FIXME(imagehlp, "(0x%08x, %ld): stub\n", FileHandle, Index);
89   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
90   return FALSE;
91 }