#ifndef _NTAFD_H
// private
/**
* The AFD_ENDPOINT_FLAGS structure describes the transport characteristics of an AFD socket endpoint as a set of bit flags.
* It is supplied in the AFD_OPEN_PACKET when a socket is created and selects behaviors such as connectionless, message-mode, raw, multipoint and RIO operation.
*/
typedef struct _AFD_ENDPOINT_FLAGS
{
union
{
struct
{
UCHAR ConnectionLess : 1;
UCHAR : 3;
UCHAR MessageMode : 1;
UCHAR : 3;
UCHAR Raw : 1;
UCHAR : 3;
UCHAR Multipoint : 1;
UCHAR : 3;
UCHAR C_Root : 1;
UCHAR : 3;
UCHAR D_Root : 1;
UCHAR : 3;
UCHAR IgnoreTDI : 1;
UCHAR : 3;
UCHAR RioSocket : 1;
UCHAR : 3;
};
ULONG EndpointFlags;
};
} AFD_ENDPOINT_FLAGS, *PAFD_ENDPOINT_FLAGS;
View code on GitHubNo description available.