[PATCH] winscard: add stubs for SCardListReadersA/W (try 2)

Matteo Bruni matteo.mystral at gmail.com
Mon Jun 15 11:11:15 CDT 2015


2015-06-15 9:31 GMT+02:00 Marcus Meissner <marcus at jet.franken.de>:
> From: Austin English <austinenglish at gmail.com>
>
> Fixes http://bugs.winehq.org/show_bug.cgi?id=26978
>
> replaced return code after suggestion by Bruno Jesus.
> ---
>  dlls/winscard/winscard.c    | 12 ++++++++++++
>  dlls/winscard/winscard.spec |  4 ++--
>  2 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/dlls/winscard/winscard.c b/dlls/winscard/winscard.c
> index bcf8129..70b3914 100644
> --- a/dlls/winscard/winscard.c
> +++ b/dlls/winscard/winscard.c
> @@ -129,3 +129,15 @@ void WINAPI SCardReleaseStartedEvent(void)
>  {
>      FIXME("stub\n");
>  }
> +
> +LONG WINAPI SCardListReadersA(SCARDCONTEXT context, LPCSTR groups, LPSTR readers, LPDWORD buflen)

Not sure it matters much here but I'd stick to avoiding LP* types, as
by usual Wine style.



More information about the wine-devel mailing list