[Bug 52787] New: Invalid function prototype for "RegisterUserApiHook" when compiling for C++