AFD_BIND - NtDoc

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

//
// Since Vista, sockets can use different modes of transport: TLI, TDI, and hybrid. The mode is selected
// based on whether the caller specifies the transport device at socket creation and whether this device
// is suitable for hybrid operation. No device means TLI, which is the most common choice.
//
// The transport mode affects which structures AFD uses for IOCTLs on the socket:
//  - TLI sockets use *_TL structures (where applicable) and SOCKADDR for addresses.
//  - TDI and hybrid sockets use non-TL structures and TDI_ADDRESS_INFO for addresses.
//

// private // IOCTL function numbers
#define AFD_BIND                        0 // in: AFD_BIND_INFO_TL; out: SOCKADDR /or/ in: AFD_BIND_INFO; out: TDI_ADDRESS_INFO (depending on transport mode)

#endif

View code on GitHub

No description available.