TAPE 5/5: add implementation of kernel tape functions

Alexandre Julliard julliard at winehq.org
Thu Jan 26 06:26:44 CST 2006


Hans Leidekker <hans at it.vu.nl> writes:

> +    status = NtDeviceIoControlFile( device, NULL, NULL, NULL, &io,
> +        IOCTL_TAPE_CREATE_PARTITION, &part, sizeof(TAPE_CREATE_PARTITION), NULL, 0 );
>  
> -  return FALSE;
> +    return (DWORD)status;
>  }

All these functions should return Win32 error codes, not NT status
codes. You probably want to set last error too.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list