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
9a7e0382
Commit
9a7e0382
authored
Nov 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for credui functions.
parent
b82428b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
17 deletions
+26
-17
Makefile.in
dlls/credui/Makefile.in
+1
-0
wincred.h
include/wincred.h
+25
-17
No files found.
dlls/credui/Makefile.in
View file @
9a7e0382
EXTRADEFS
=
-D_CREDUI_
MODULE
=
credui.dll
MODULE
=
credui.dll
IMPORTLIB
=
credui
IMPORTLIB
=
credui
IMPORTS
=
comctl32 user32 advapi32
IMPORTS
=
comctl32 user32 advapi32
...
...
include/wincred.h
View file @
9a7e0382
...
@@ -31,6 +31,14 @@ extern "C" {
...
@@ -31,6 +31,14 @@ extern "C" {
#endif
#endif
#endif
#endif
#ifndef CREDUIAPI
#ifdef _CREDUI_
#define CREDUIAPI
#else
#define CREDUIAPI DECLSPEC_IMPORT
#endif
#endif
#ifndef __SECHANDLE_DEFINED__
#ifndef __SECHANDLE_DEFINED__
#define __SECHANDLE_DEFINED__
#define __SECHANDLE_DEFINED__
typedef
struct
_SecHandle
typedef
struct
_SecHandle
...
@@ -273,25 +281,25 @@ WINADVAPI BOOL WINAPI CredWriteA(PCREDENTIALA,DWORD);
...
@@ -273,25 +281,25 @@ WINADVAPI BOOL WINAPI CredWriteA(PCREDENTIALA,DWORD);
WINADVAPI
BOOL
WINAPI
CredWriteW
(
PCREDENTIALW
,
DWORD
);
WINADVAPI
BOOL
WINAPI
CredWriteW
(
PCREDENTIALW
,
DWORD
);
#define CredWrite WINELIB_NAME_AW(CredWrite)
#define CredWrite WINELIB_NAME_AW(CredWrite)
BOOL
WINAPI
CredPackAuthenticationBufferW
(
DWORD
,
LPWSTR
,
LPWSTR
,
PBYTE
,
DWORD
*
);
CREDUIAPI
BOOL
WINAPI
CredPackAuthenticationBufferW
(
DWORD
,
LPWSTR
,
LPWSTR
,
PBYTE
,
DWORD
*
);
BOOL
WINAPI
CredUnPackAuthenticationBufferW
(
DWORD
,
PVOID
,
DWORD
,
LPWSTR
,
DWORD
*
,
LPWSTR
,
DWORD
*
,
LPWSTR
,
DWORD
*
);
CREDUIAPI
BOOL
WINAPI
CredUnPackAuthenticationBufferW
(
DWORD
,
PVOID
,
DWORD
,
LPWSTR
,
DWORD
*
,
LPWSTR
,
DWORD
*
,
LPWSTR
,
DWORD
*
);
DWORD
WINAPI
CredUICmdLinePromptForCredentialsW
(
PCWSTR
,
PCtxtHandle
,
DWORD
,
PWSTR
,
ULONG
,
PWSTR
,
ULONG
,
PBOOL
,
DWORD
);
CREDUIAPI
DWORD
WINAPI
CredUICmdLinePromptForCredentialsW
(
PCWSTR
,
PCtxtHandle
,
DWORD
,
PWSTR
,
ULONG
,
PWSTR
,
ULONG
,
PBOOL
,
DWORD
);
DWORD
WINAPI
CredUICmdLinePromptForCredentialsA
(
PCSTR
,
PCtxtHandle
,
DWORD
,
PSTR
,
ULONG
,
PSTR
,
ULONG
,
PBOOL
,
DWORD
);
CREDUIAPI
DWORD
WINAPI
CredUICmdLinePromptForCredentialsA
(
PCSTR
,
PCtxtHandle
,
DWORD
,
PSTR
,
ULONG
,
PSTR
,
ULONG
,
PBOOL
,
DWORD
);
#define CredUICmdLinePromptForCredentials WINELIB_NAME_AW(CredUICmdLinePromptForCredentials)
#define
CredUICmdLinePromptForCredentials WINELIB_NAME_AW(CredUICmdLinePromptForCredentials)
DWORD
WINAPI
CredUIConfirmCredentialsW
(
PCWSTR
,
BOOL
);
CREDUIAPI
DWORD
WINAPI
CredUIConfirmCredentialsW
(
PCWSTR
,
BOOL
);
DWORD
WINAPI
CredUIConfirmCredentialsA
(
PCSTR
,
BOOL
);
CREDUIAPI
DWORD
WINAPI
CredUIConfirmCredentialsA
(
PCSTR
,
BOOL
);
#define CredUIConfirmCredentials WINELIB_NAME_AW(CredUIConfirmCredentials)
#define
CredUIConfirmCredentials WINELIB_NAME_AW(CredUIConfirmCredentials)
DWORD
WINAPI
CredUIParseUserNameW
(
PCWSTR
,
PWSTR
,
ULONG
,
PWSTR
,
ULONG
);
CREDUIAPI
DWORD
WINAPI
CredUIParseUserNameW
(
PCWSTR
,
PWSTR
,
ULONG
,
PWSTR
,
ULONG
);
DWORD
WINAPI
CredUIParseUserNameA
(
PCSTR
,
PSTR
,
ULONG
,
PSTR
,
ULONG
);
CREDUIAPI
DWORD
WINAPI
CredUIParseUserNameA
(
PCSTR
,
PSTR
,
ULONG
,
PSTR
,
ULONG
);
#define CredUIParseUserName WINELIB_NAME_AW(CredUIParseUserName)
#define
CredUIParseUserName WINELIB_NAME_AW(CredUIParseUserName)
DWORD
WINAPI
CredUIPromptForCredentialsW
(
PCREDUI_INFOW
,
PCWSTR
,
PCtxtHandle
,
DWORD
,
PWSTR
,
ULONG
,
PWSTR
,
ULONG
,
PBOOL
,
DWORD
);
CREDUIAPI
DWORD
WINAPI
CredUIPromptForCredentialsW
(
PCREDUI_INFOW
,
PCWSTR
,
PCtxtHandle
,
DWORD
,
PWSTR
,
ULONG
,
PWSTR
,
ULONG
,
PBOOL
,
DWORD
);
DWORD
WINAPI
CredUIPromptForCredentialsA
(
PCREDUI_INFOA
,
PCSTR
,
PCtxtHandle
,
DWORD
,
PSTR
,
ULONG
,
PSTR
,
ULONG
,
PBOOL
,
DWORD
);
CREDUIAPI
DWORD
WINAPI
CredUIPromptForCredentialsA
(
PCREDUI_INFOA
,
PCSTR
,
PCtxtHandle
,
DWORD
,
PSTR
,
ULONG
,
PSTR
,
ULONG
,
PBOOL
,
DWORD
);
#define CredUIPromptForCredentials WINELIB_NAME_AW(CredUIPromptForCredentials)
#define
CredUIPromptForCredentials WINELIB_NAME_AW(CredUIPromptForCredentials)
DWORD
WINAPI
CredUIPromptForWindowsCredentialsW
(
PCREDUI_INFOW
,
DWORD
,
ULONG
*
,
LPCVOID
,
ULONG
,
LPVOID
*
,
ULONG
*
,
BOOL
*
,
CREDUIAPI
DWORD
WINAPI
CredUIPromptForWindowsCredentialsW
(
PCREDUI_INFOW
,
DWORD
,
ULONG
*
,
LPCVOID
,
ULONG
,
LPVOID
*
,
ULONG
*
,
BOOL
*
,
DWORD
);
DWORD
);
DWORD
WINAPI
CredUIStoreSSOCredW
(
PCWSTR
,
PCWSTR
,
PCWSTR
,
BOOL
);
CREDUIAPI
DWORD
WINAPI
CredUIStoreSSOCredW
(
PCWSTR
,
PCWSTR
,
PCWSTR
,
BOOL
);
/* Note: no CredUIStoreSSOCredA in PSDK header */
/* Note: no CredUIStoreSSOCredA in PSDK header */
DWORD
WINAPI
CredUIReadSSOCredW
(
PCWSTR
,
PWSTR
*
);
CREDUIAPI
DWORD
WINAPI
CredUIReadSSOCredW
(
PCWSTR
,
PWSTR
*
);
/* Note: no CredUIReadSSOCredA in PSDK header */
/* Note: no CredUIReadSSOCredA in PSDK header */
#ifdef __cplusplus
#ifdef __cplusplus
...
...
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