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
2868116c
Commit
2868116c
authored
Feb 22, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winscard: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5151d1ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
Makefile.in
dlls/winscard/Makefile.in
+0
-1
winscard.c
dlls/winscard/winscard.c
+9
-9
No files found.
dlls/winscard/Makefile.in
View file @
2868116c
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
winscard.dll
IMPORTLIB
=
winscard
...
...
dlls/winscard/winscard.c
View file @
2868116c
...
...
@@ -34,7 +34,7 @@ const SCARD_IO_REQUEST g_rgSCardRawPci = { SCARD_PROTOCOL_RAW, 8 };
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"%p,%x,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"%p,%
l
x,%p
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
...
...
@@ -84,14 +84,14 @@ LONG WINAPI SCardAddReaderToGroupW(SCARDCONTEXT context, LPCWSTR reader, LPCWSTR
LONG
WINAPI
SCardEstablishContext
(
DWORD
dwScope
,
LPCVOID
pvReserved1
,
LPCVOID
pvReserved2
,
LPSCARDCONTEXT
phContext
)
{
FIXME
(
"(%x,%p,%p,%p) stub
\n
"
,
dwScope
,
pvReserved1
,
pvReserved2
,
phContext
);
FIXME
(
"(%
l
x,%p,%p,%p) stub
\n
"
,
dwScope
,
pvReserved1
,
pvReserved2
,
phContext
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
SCARD_F_INTERNAL_ERROR
;
}
LONG
WINAPI
SCardIsValidContext
(
SCARDCONTEXT
context
)
{
FIXME
(
"(%
l
x) stub
\n
"
,
context
);
FIXME
(
"(%
I
x) stub
\n
"
,
context
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
SCARD_F_INTERNAL_ERROR
;
}
...
...
@@ -105,21 +105,21 @@ LONG WINAPI SCardListCardsA(SCARDCONTEXT hContext, LPCBYTE pbAtr, LPCGUID rgguid
LONG
WINAPI
SCardReleaseContext
(
SCARDCONTEXT
context
)
{
FIXME
(
"(%
l
x) stub
\n
"
,
context
);
FIXME
(
"(%
I
x) stub
\n
"
,
context
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
SCARD_F_INTERNAL_ERROR
;
}
LONG
WINAPI
SCardStatusA
(
SCARDHANDLE
context
,
LPSTR
szReaderName
,
LPDWORD
pcchReaderLen
,
LPDWORD
pdwState
,
LPDWORD
pdwProtocol
,
LPBYTE
pbAtr
,
LPDWORD
pcbAtrLen
)
{
FIXME
(
"(%
l
x) stub
\n
"
,
context
);
FIXME
(
"(%
I
x) stub
\n
"
,
context
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
SCARD_F_INTERNAL_ERROR
;
}
LONG
WINAPI
SCardStatusW
(
SCARDHANDLE
context
,
LPWSTR
szReaderName
,
LPDWORD
pcchReaderLen
,
LPDWORD
pdwState
,
LPDWORD
pdwProtocol
,
LPBYTE
pbAtr
,
LPDWORD
pcbArtLen
)
{
FIXME
(
"(%
l
x) stub
\n
"
,
context
);
FIXME
(
"(%
I
x) stub
\n
"
,
context
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
SCARD_F_INTERNAL_ERROR
;
}
...
...
@@ -131,19 +131,19 @@ void WINAPI SCardReleaseStartedEvent(void)
LONG
WINAPI
SCardListReadersA
(
SCARDCONTEXT
context
,
const
CHAR
*
groups
,
CHAR
*
readers
,
DWORD
*
buflen
)
{
FIXME
(
"(%
l
x, %s, %p, %p) stub
\n
"
,
context
,
debugstr_a
(
groups
),
readers
,
buflen
);
FIXME
(
"(%
I
x, %s, %p, %p) stub
\n
"
,
context
,
debugstr_a
(
groups
),
readers
,
buflen
);
return
SCARD_E_NO_READERS_AVAILABLE
;
}
LONG
WINAPI
SCardListReadersW
(
SCARDCONTEXT
context
,
const
WCHAR
*
groups
,
WCHAR
*
readers
,
DWORD
*
buflen
)
{
FIXME
(
"(%
l
x, %s, %p, %p) stub
\n
"
,
context
,
debugstr_w
(
groups
),
readers
,
buflen
);
FIXME
(
"(%
I
x, %s, %p, %p) stub
\n
"
,
context
,
debugstr_w
(
groups
),
readers
,
buflen
);
return
SCARD_E_NO_READERS_AVAILABLE
;
}
LONG
WINAPI
SCardCancel
(
SCARDCONTEXT
context
)
{
FIXME
(
"(%
l
x) stub
\n
"
,
context
);
FIXME
(
"(%
I
x) stub
\n
"
,
context
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
SCARD_F_INTERNAL_ERROR
;
}
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