77 {
83
85
87
92
93 if (
FCB->LocalAddress)
94 {
96 }
97
99
100 if(
FCB->LocalAddress )
103
107
109 {
111 0,
116 &UserHandle);
119 }
120
121
124}
#define SOCKET_STATE_BOUND
#define TAG_AFD_TRANSPORT_ADDRESS
#define NT_SUCCESS(StatCode)
_In_ PIO_STACK_LOCATION IrpSp
NTSTATUS WarmSocketForBind(PAFD_FCB FCB, ULONG ShareType)
PVOID LockRequest(PIRP Irp, PIO_STACK_LOCATION IrpSp, BOOLEAN Output, KPROCESSOR_MODE *LockMode)
NTSTATUS LostSocket(PIRP Irp)
NTSTATUS NTAPI UnlockAndMaybeComplete(PAFD_FCB FCB, NTSTATUS Status, PIRP Irp, UINT Information)
BOOLEAN SocketAcquireStateLock(PAFD_FCB FCB)
#define AFD_DbgPrint(_t_, _x_)
POBJECT_TYPE IoFileObjectType
#define ExFreePoolWithTag(_P, _T)
#define UNREFERENCED_PARAMETER(P)
NTSTATUS NTAPI ObOpenObjectByPointer(IN PVOID Object, IN ULONG HandleAttributes, IN PACCESS_STATE PassedAccessState, IN ACCESS_MASK DesiredAccess, IN POBJECT_TYPE ObjectType, IN KPROCESSOR_MODE AccessMode, OUT PHANDLE Handle)
TRANSPORT_ADDRESS Address
NTSTATUS TdiBuildConnectionInfo(PTDI_CONNECTION_INFORMATION *ConnectionInfo, PTRANSPORT_ADDRESS Address)
PTRANSPORT_ADDRESS TaCopyTransportAddress(PTRANSPORT_ADDRESS OtherAddress)
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject