Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
17588774
Commit
17588774
authored
Nov 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for cryptdlg functions.
parent
7cee5e55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
Makefile.in
dlls/cryptdlg/Makefile.in
+1
-0
cryptdlg.h
include/cryptdlg.h
+15
-9
No files found.
dlls/cryptdlg/Makefile.in
View file @
17588774
EXTRADEFS
=
-D_CRYPTDLG_
MODULE
=
cryptdlg.dll
IMPORTS
=
cryptui crypt32 wintrust user32 advapi32
...
...
include/cryptdlg.h
View file @
17588774
...
...
@@ -20,6 +20,14 @@
#include <prsht.h>
#ifndef CRYPTDLGAPI
#ifdef _CRYPTDLG_
#define CRYPTDLGAPI
#else
#define CRYPTDLGAPI DECLSPEC_IMPORT
#endif
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
@@ -115,8 +123,8 @@ typedef struct tagCSSW
#define CERT_SELECT_STRUCT WINELIB_NAME_AW(CERT_SELECT_STRUCT_)
BOOL
WINAPI
CertSelectCertificateA
(
PCERT_SELECT_STRUCT_A
pCertSelectInfo
);
BOOL
WINAPI
CertSelectCertificateW
(
PCERT_SELECT_STRUCT_W
pCertSelectInfo
);
CRYPTDLGAPI
BOOL
WINAPI
CertSelectCertificateA
(
PCERT_SELECT_STRUCT_A
pCertSelectInfo
);
CRYPTDLGAPI
BOOL
WINAPI
CertSelectCertificateW
(
PCERT_SELECT_STRUCT_W
pCertSelectInfo
);
#define CertSelectCertificate WINELIB_NAME_AW(CertSelectCertificate)
#define CM_VIEWFLAGS_MASK 0x00ffffff
...
...
@@ -196,8 +204,8 @@ typedef struct tagCERT_VIEWPROPERTIES_STRUCT_W
#define PCERT_VIEWPROPERTIES_STRUCT \
WINELIB_NAME_AW(PCERT_VIEWPROPERTIES_STRUCT_)
BOOL
WINAPI
CertViewPropertiesA
(
PCERT_VIEWPROPERTIES_STRUCT_A
pCertViewInfo
);
BOOL
WINAPI
CertViewPropertiesW
(
PCERT_VIEWPROPERTIES_STRUCT_W
pCertViewInfo
);
CRYPTDLGAPI
BOOL
WINAPI
CertViewPropertiesA
(
PCERT_VIEWPROPERTIES_STRUCT_A
pCertViewInfo
);
CRYPTDLGAPI
BOOL
WINAPI
CertViewPropertiesW
(
PCERT_VIEWPROPERTIES_STRUCT_W
pCertViewInfo
);
#define CertViewProperties WINELIB_NAME_AW(CertViewProperties)
#define CERT_FILTER_OP_EXISTS 1
...
...
@@ -227,10 +235,8 @@ typedef struct tagCMFLTR
DWORD
dwCheckingFlags
;
}
CERT_FILTER_DATA
;
DWORD
WINAPI
GetFriendlyNameOfCertA
(
PCCERT_CONTEXT
pccert
,
LPSTR
pchBuffer
,
DWORD
cchBuffer
);
DWORD
WINAPI
GetFriendlyNameOfCertW
(
PCCERT_CONTEXT
pccert
,
LPWSTR
pchBuffer
,
DWORD
cchBuffer
);
CRYPTDLGAPI
DWORD
WINAPI
GetFriendlyNameOfCertA
(
PCCERT_CONTEXT
pccert
,
LPSTR
pchBuffer
,
DWORD
cchBuffer
);
CRYPTDLGAPI
DWORD
WINAPI
GetFriendlyNameOfCertW
(
PCCERT_CONTEXT
pccert
,
LPWSTR
pchBuffer
,
DWORD
cchBuffer
);
#define GetFriendlyNameOfCert WINELIB_NAME_AW(GetFriendlyNameOfCert)
#define CERT_CERTIFICATE_ACTION_VERIFY \
...
...
@@ -302,7 +308,7 @@ typedef struct _CTL_MODIFY_REQUEST
DWORD
dwError
;
}
CTL_MODIFY_REQUEST
,
*
PCTL_MODIFY_REQUEST
;
HRESULT
WINAPI
CertModifyCertificatesToTrust
(
int
cCertStore
,
CRYPTDLGAPI
HRESULT
WINAPI
CertModifyCertificatesToTrust
(
int
cCertStore
,
PCTL_MODIFY_REQUEST
rgCerts
,
LPCSTR
szPurpose
,
HWND
hwnd
,
HCERTSTORE
hcertstoreTrust
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment