Inconsistency/bug with GetProcAddress