Skip to content

Instantly share code, notes, and snippets.

@bagder
Created May 28, 2019 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bagder/ee41de885261368f9c57366104334eb2 to your computer and use it in GitHub Desktop.
Save bagder/ee41de885261368f9c57366104334eb2 to your computer and use it in GitHub Desktop.
this is how I'd do it
{
IF_NAMETOINDEX_FN pIfNameToIndex =
CURLX_FUNCTION_CAST(IF_NAMETOINDEX_FN,
(GetProcAddress(s_hIpHlpApiDll, "if_nametoindex")));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment