10 if( !
NT_SUCCESS(NdisStatus) )
return NdisStatus;
77#undef NdisAllocatePacket
78#undef NdisAllocateBuffer
#define NT_SUCCESS(StatCode)
#define LA_DbgPrint(_t_, _x_)
VOID EXPORT NdisAllocateBuffer(OUT PNDIS_STATUS Status, OUT PNDIS_BUFFER *Buffer, IN NDIS_HANDLE PoolHandle, IN PVOID VirtualAddress, IN UINT Length)
VOID EXPORT NdisFreePacket(IN PNDIS_PACKET Packet)
VOID EXPORT NdisAllocateBufferPool(OUT PNDIS_STATUS Status, OUT PNDIS_HANDLE PoolHandle, IN UINT NumberOfDescriptors)
VOID EXPORT NdisFreeBufferPool(IN NDIS_HANDLE PoolHandle)
VOID EXPORT NdisAllocatePacket(OUT PNDIS_STATUS Status, OUT PNDIS_PACKET *Packet, IN NDIS_HANDLE PoolHandle)
VOID EXPORT NdisFreePacketPool(IN NDIS_HANDLE PoolHandle)
VOID EXPORT NdisAllocatePacketPool(OUT PNDIS_STATUS Status, OUT PNDIS_HANDLE PoolHandle, IN UINT NumberOfDescriptors, IN UINT ProtocolReservedLength)
NDIS_HANDLE GlobalBufferPool
void GetDataPtr(PNDIS_PACKET Packet, UINT Offset, PCHAR *DataOut, PUINT Size)
NDIS_STATUS AllocatePacketWithBufferX(PNDIS_PACKET *NdisPacket, PCHAR Data, UINT Len, PCHAR File, UINT Line)
NDIS_HANDLE GlobalPacketPool
NDIS_STATUS InitNdisPools()
__inline INT SkipToOffset(PNDIS_BUFFER Buffer, UINT Offset, PCHAR *Data, PUINT Size)
VOID FreeNdisPacketX(PNDIS_PACKET Packet, PCHAR File, UINT Line)
#define exAllocatePool(x, y)
#define UntrackFL(x, y, z)
#define TrackWithTag(w, x, y, z)
#define FreeNdisPacket(x)
#define NdisGetNextBuffer(CurrentBuffer, NextBuffer)
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
static __inline VOID NdisQueryPacket(IN PNDIS_PACKET Packet, OUT PUINT PhysicalBufferCount OPTIONAL, OUT PUINT BufferCount OPTIONAL, OUT PNDIS_BUFFER *FirstBuffer OPTIONAL, OUT PUINT TotalPacketLength OPTIONAL)
#define NDIS_STATUS_SUCCESS
#define NdisQueryBuffer(_Buffer, _VirtualAddress, _Length)
#define NDIS_STATUS_NOT_ACCEPTED
#define NdisChainBufferAtFront(Packet, Buffer)
_In_ ULONG _In_ ULONG Offset
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define RtlCopyMemory(Destination, Source, Length)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size