Home -> ModuleHandlePosix -> Create
Description
The Create method creates an owning wrapper around a POSIX dynamic library handle.
Usage
static IModuleHandle::unique_ptr Create(void* moduleHandle, const std::string& modulePath);
Argument list
- moduleHandle [void*]
- The POSIX dynamic library handle to own.
- modulePath [const std::string&]
- The path used to open another reference to the same dynamic library when the handle is cloned.
Return value
- [IModuleHandle]
- A new ModuleHandlePosix object returned through IModuleHandle::unique_ptr.