[PATCH 1/2] ras.h: Add RASCREDENTIALSA/W structures

Chip Davis cdavis at codeweavers.com
Thu Aug 20 09:57:29 CDT 2020


August 20, 2020 6:32 AM, "Oleg Dubinskiy" <oleg.dubinskij2013 at yandex.ua> wrote:

> diff --git a/include/ras.h b/include/ras.h
> index a8c04da2b6..bd29343dc5 100644
> --- a/include/ras.h
> +++ b/include/ras.h
> @@ -372,6 +372,27 @@ typedef struct tagRASCONNSTATUSW
> 
>  DECL_WINELIB_TYPE_AW(RASCONNSTATUS)
> 
> +typedef struct tagRASCREDENTIALSA
> +{
> +  DWORD dwSize;
> +  DWORD dwMask;
> +  CHAR szUserName[UNLEN + 1];
> +  CHAR szPassword[PWLEN + 1];
> +  CHAR szDomain[DNLEN + 1];
> +} RASCREDENTIALSA,*LPRASCREDENTIALSA;
> +
> +typedef struct tagRASCREDENTIALSW
> +{
> +  DWORD dwSize;
> +  DWORD dwMask;
> +  WCHAR szUserName[UNLEN + 1];
> +  WCHAR szPassword[PWLEN + 1];
> +  WCHAR szDomain[DNLEN + 1];
> +} RASCREDENTIALSW,*LPRASCREDENTIALSW;

The formatting of these is off from the rest of the file. You didn't copy these out of Microsoft's header, did you?

> +
> +DECL_WINELIB_TYPE_AW(RASCREDENTIALS)
> +DECL_WINELIB_TYPE_AW(LPRASCREDENTIALS)
> +
>  typedef enum tagRASPROJECTION
>  {
>      RASP_Amb = 0x10000,


Chip



More information about the wine-devel mailing list