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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss