FInitializeModuleFunctionPtr

Function pointer type for InitializeModule().

Windows
MacOS
Linux

Type

typedef IModuleInterface *(* FInitializeModuleFunctionPtr

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h

Include

#include "Modules/ModuleManager.h"

Remarks

Function pointer type for InitializeModule().

All modules must have an InitializeModule() function. Usually this is declared automatically using the IMPLEMENT_MODULE macro below. The function must be declared using as 'extern "C"' so that the name remains undecorated. The object returned will be "owned" by the caller, and will be deleted by the caller before the module is unloaded.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback