Plug-in DLLs must implement and export a number of functions in order to load and work properly in 3ds Max. More...
Typedefs |
|
typedef const ULONG(* | LibVersionProcPtr )() |
Pointer to a function with the following
signature: ULONG LibVersion(). |
|
typedef const MCHAR *(* | LibDescriptionProcPtr )() |
Pointer to a function with the following
signature: MCHAR* LibDescription(). |
|
typedef int(* | LibNumberClassesProcPtr )() |
Pointer to a function with the following
signature: int LibNumberClasses(). |
|
typedef ClassDesc *(* | LibClassDescProcPtr )(int i) |
Pointer to a function with the following
signature: ClassDesc* LibClassDesc(int) Returns the i-th class
descriptor (ClassDesc
derived object). |
Plug-in DLLs must implement and export a number of functions in order to load and work properly in 3ds Max.
The following types represent pointers to these functions.
typedef const ULONG(* LibVersionProcPtr)() |
Pointer to a function with the following signature: ULONG LibVersion().
LibVersion() must return the VERSION_3DSMAX pre-defined constant which encodes the version of 3ds Max the plug-in is compatible with. This allows 3ds Max to identify obsolete plug-in DLLs.
typedef const MCHAR*(* LibDescriptionProcPtr)() |
Pointer to a function with the following signature: MCHAR* LibDescription().
Returns a string that describes the plug-in DLL.
typedef int(* LibNumberClassesProcPtr)() |
Pointer to a function with the following signature: int LibNumberClasses().
Returns the number of plug-in classes (number of ClassDesc derived objects) this plug-in Dll exposes.
typedef ClassDesc*(* LibClassDescProcPtr)(int i) |
Pointer to a function with the following signature: ClassDesc* LibClassDesc(int) Returns the i-th class descriptor (ClassDesc derived object).
See class ClassDesc and ClassDesc2 for more information.