Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.16 KB

GetUdpTable.md

File metadata and controls

51 lines (36 loc) · 1.16 KB

Home

Function name : GetUdpTable

Group: IP Helper - Library: iphlpapi


The GetUdpTable function retrieves the User Datagram Protocol (UDP) listener table.


Code examples:

Retrieving the User Datagram Protocol (UDP) listener table

Declaration:

DWORD GetUdpTable(
  PMIB_UDPTABLE pUdpTable,  // buffer for the listener table
  PDWORD pdwSize,           // size of buffer
  BOOL bOrder               // sort the table?
);  

FoxPro declaration:

DECLARE INTEGER GetUdpTable IN iphlpapi;
	STRING  @ pUdpTable,;
	INTEGER @ pdwSize,;
	INTEGER   bOrder  

Parameters:

pUdpTable [out] Pointer to a buffer that receives the UDP listener table as a MIB_UDPTABLE structure.

pdwSize [in, out] Specifies the size of the buffer pointed to by the pUdpTable parameter.

bOrder [in] Specifies whether the returned table should be sorted.


Return value:

If the function succeeds, the return value is NO_ERROR.