FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fbxmodule.h File Reference

Typedefs

typedef void * FbxModule
 

Functions

FbxModule FbxModuleLoad (const char *pFilePath)
 Loads the specified module into the address space of the calling process. More...
 
void * FbxModuleGetProc (FbxModule pModuleHandle, const char *pProcName)
 Retrieves the address of an exported function or variable from the specified module. More...
 
bool FbxModuleFree (FbxModule pModuleHandle)
 Frees the loaded module and, if necessary, decrements its reference count. More...
 

Typedef Documentation

◆ FbxModule

typedef void* FbxModule

Definition at line 22 of file fbxmodule.h.

Function Documentation

◆ FbxModuleLoad()

FbxModule FbxModuleLoad ( const char *  pFilePath)

Loads the specified module into the address space of the calling process.

Parameters
pFilePathThe full file path name of the module to load.
Returns
The module handle if it successfully loaded, otherwise NULL.
Remarks
The specified module may cause other modules to be loaded.

◆ FbxModuleGetProc()

void* FbxModuleGetProc ( FbxModule  pModuleHandle,
const char *  pProcName 
)

Retrieves the address of an exported function or variable from the specified module.

Parameters
pModuleHandleA valid module handle.
pProcNameThe procedure name to search.
Returns
The procedure handle if valid, otherwise NULL.

◆ FbxModuleFree()

bool FbxModuleFree ( FbxModule  pModuleHandle)

Frees the loaded module and, if necessary, decrements its reference count.

Parameters
pModuleHandleA valid module handle.
Returns
true on success, false otherwise.
Remarks
When the reference count reaches zero, the module is unloaded from the address space of the calling process and the handle is no longer valid.

Go to the source code of this file.