AllocateAndGetUdpExTableFromStack (Compact 2013)
3/26/2014
This function retrieves the UDP connection table and allocates memory from the local heap to store the table.
Syntax
DWORD WINAPI AllocateAndGetUdpExTableFromStack(
__out PVOID* ppUDPTable,
__in BOOL bOrder,
__in HANDLE hHeap,
__in DWORD dwFlags,
__in DWORD dwFamily
);
Parameters
- ppUDPTable
Pointer to the address of the opaque data that contains the UDP connection table after the function returns.
- bOrder
If true, the UDP connection entries in the table returned in ppUDPTable are sorted; if false, they are not.
- hHeap
Handle to the heap from which the memory to store the table will be allocated.
- dwFlags
One or more flags that indicate specific heap allocation control symptoms.
dwFamily
The family of the UDP addresses in the table.Value
Meaning
AF_INET
Retrieve IPv4 TCP addresses.
AF_INET6
Retrieve IPv6 TCP addresses.
Return Value
If the function succeeds, it returns ERROR_SUCCESS.
If the function fails, it returns a function from winerror.h.
Remarks
The GetUdpTable or GetExtendedUdpTable functions should be used to retrieve the UDP connection table instead of using the AllocateAndGetTcpExTableFromStack function.
See Also
Reference
IP Helper Functions
AllocateAndGetTcpExTableFromStack
GetExtendedUdpTable
GetUdpTable