Function pointer comparison in non-DLL code

In non-DLL code, the results of the following function pointer comparisons are undefined:
  • Comparing a DLL function pointer to a non-DLL function pointer
  • Comparing a DLL function pointer to another DLL function pointer
  • Comparing a DLL function pointer to a constant function address