fbxsdk/core/fbxmodule.h File Reference
 
 
 
fbxsdk/core/fbxmodule.h File Reference

File Description

Definition in file fbxmodule.h.

Typedefs

typedef void *  FbxModule

Functions

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

Typedef Documentation

typedef void* FbxModule

Definition at line 22 of file fbxmodule.h.


Function Documentation

FBXSDK_DLL FbxModule FbxModuleLoad ( const char *  pFilePath )

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

Parameters:
pLibFilePath The 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.
FBXSDK_DLL void* FbxModuleGetProc ( FbxModule  pModuleHandle,
const char *  pProcName 
)

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

Parameters:
pModuleHandle A valid module handle.
pProcName The procedure name to search.
Returns:
The procedure handle if valid, otherwise NULL.
FBXSDK_DLL bool FbxModuleFree ( FbxModule  pModuleHandle )

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

Parameters:
pModuleHandle A 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.