Add doc to load_ex_ip_helper_procedures().

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66060
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
Ralf Habacker 2013-08-08 16:52:54 +02:00
parent 4886ff454e
commit 0b2b6cba92

View file

@ -116,6 +116,11 @@ typedef PMIB_TCPTABLE_OWNER_PID PMIB_TCPTABLE_EX;
typedef DWORD (WINAPI *ProcAllocateAndGetTcpExtTableFromStack)(PMIB_TCPTABLE_EX*,BOOL,HANDLE,DWORD,DWORD);
static ProcAllocateAndGetTcpExtTableFromStack lpfnAllocateAndGetTcpExTableFromStack = NULL;
/**
* AllocateAndGetTcpExTableFromStack() is undocumented and not exported,
* but is the only way to do this in older XP versions.
* @return true if the procedures could be loaded
*/
static BOOL load_ex_ip_helper_procedures(void)
{
HMODULE hModule = LoadLibrary ("iphlpapi.dll");