Example #1
0
        public static bool DoesWin32MethodExist(string moduleName, string methodName)
        {
            IntPtr moduleHandle = DeveloperTools.GetModuleHandle(moduleName);

            if (moduleHandle == IntPtr.Zero)
            {
                return(false);
            }
            return(DeveloperTools.GetProcAddress(moduleHandle, methodName) != IntPtr.Zero);
        }