[PATCH v2 3/5] server: Introduce IOCTL_AFD_CREATE.

Alexandre Julliard julliard at winehq.org
Fri Sep 18 04:31:08 CDT 2020


Zebediah Figura <z.figura12 at gmail.com> writes:

> +#include <winioctl.h>
> +
> +#define IOCTL_AFD_CREATE                    CTL_CODE(FILE_DEVICE_NETWORK,   0, METHOD_BUFFERED, FILE_WRITE_ACCESS)
> +
> +struct afd_create_params
> +{
> +    int family, type, protocol;
> +    unsigned int flags;
> +};

Do we really need yet another set of Wine-specific ioctls?

Note that (FILE_DEVICE_NETWORK,0) is already used for the documented
IOCTL_TCP_QUERY_INFORMATION_EX, it may be better to avoid it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list