MCPcopy Create free account
hub / github.com/CCob/lsarelayx / GetProcAddress

Method GetProcAddress

client/Program.cs:69–70  ·  view source on GitHub ↗
(IntPtr hModule, string procName)

Source from the content-addressed store, hash-verified

67 static extern IntPtr LoadLibrary([MarshalAs(UnmanagedType.LPStr)] string lpFileName);
68
69 [DllImport("kernel32", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
70 static extern IntPtr GetProcAddress(IntPtr hModule, string procName);
71
72 [DllImport("kernel32", SetLastError = true, CharSet = CharSet.Ansi)]
73 static extern int FreeLibrary(IntPtr handle);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected