AFD_OPEN_PACKET - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTAFD_H

// private
typedef struct _AFD_OPEN_PACKET
{
    _In_ AFD_ENDPOINT_FLAGS __f;
    _In_opt_ GROUP GroupID;
    _In_ LONG AddressFamily; // AF_*
    _In_ LONG SocketType; // SOCK_*
    _In_ LONG Protocol; // IPPROTO_*, BTHPROTO_*, HV_PROTOCOL_*, etc.
    _In_opt_ ULONG TransportDeviceNameLength; // Note: specifying a device changes the transport mode
    _Field_size_bytes_opt_(TransportDeviceNameLength) WCHAR TransportDeviceName[ANYSIZE_ARRAY];
} AFD_OPEN_PACKET, *PAFD_OPEN_PACKET;

#endif

View code on GitHub

No description available.