Go to the source code of this file.
◆ AfdGetContext()
Definition at line 14 of file context.c.
15 {
20
22
24
26 {
31 }
32 else if (
FCB->Context)
33 {
39 }
40
42
44}
_In_ PIO_STACK_LOCATION IrpSp
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_)
_Must_inspect_result_ _In_ FLT_CONTEXT_TYPE _In_ SIZE_T ContextSize
#define UNREFERENCED_PARAMETER(P)
union _IO_STACK_LOCATION::@1669 Parameters
struct _IO_STACK_LOCATION::@1669::@1670 DeviceIoControl
#define RtlCopyMemory(Destination, Source, Length)
#define STATUS_INVALID_PARAMETER
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Referenced by AfdDispatch().
◆ AfdGetContextSize()
Definition at line 47 of file context.c.
49{
52
54
56
58 {
61 }
62
66
68}
#define STATUS_BUFFER_TOO_SMALL
Referenced by AfdDispatch().
◆ AfdSetContext()
Definition at line 71 of file context.c.
72 {
76
78
80
83
87 }
88
92
94
96
100
102}
#define TAG_AFD_SOCKET_CONTEXT
PVOID LockRequest(PIRP Irp, PIO_STACK_LOCATION IrpSp, BOOLEAN Output, KPROCESSOR_MODE *LockMode)
#define ExAllocatePoolWithTag(hernya, size, tag)
#define ExFreePoolWithTag(_P, _T)
Referenced by AfdDispatch().