[PATCH 1/7] win32u: Use syscall interface for some path functions.
Dmitry Timoshkov
dmitry at baikal.ru
Tue Oct 12 11:02:43 CDT 2021
Hi Jacek,
Jacek Caban <jacek at codeweavers.com> wrote:
> +NTSTATUS WINAPI wow64_NtGdiGetPath( UINT *args )
> +{
> + HDC hdc = get_handle( &args );
> + POINT *points = get_ptr( &args );
> + BYTE *types = get_ptr( &args );
> + INT size = get_ulong( &args );
> +
> + return NtGdiGetPath( hdc, points, types, size );
> +}
> +
> +NTSTATUS WINAPI wow64_NtGdiPathToRegion( UINT *args )
> +{
> + HDC hdc = get_handle( &args );
> +
> + return HandleToUlong( NtGdiPathToRegion( hdc ));
> +}
> +
> +NTSTATUS WINAPI wow64_NtGdiFlattenPath( UINT *args )
> +{
> + HDC hdc = get_handle( &args );
> +
> + return NtGdiFlattenPath( hdc );
> +}
This doesn't look right that wow64 versions return NTSTATUS. Is that correct?
--
Dmitry.
More information about the wine-devel
mailing list