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.
Typedefs | |
typedef const ULONG(* | LibVersionProcPtr) () |
Pointer to a function with the following signature: ULONG LibVersion(). More... | |
typedef const MCHAR *(* | LibDescriptionProcPtr) () |
Pointer to a function with the following signature: const MCHAR* LibDescription(). More... | |
typedef int(* | LibNumberClassesProcPtr) () |
Pointer to a function with the following signature: int LibNumberClasses(). More... | |
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). More... | |
typedef const ULONG(* LibVersionProcPtr) () |
typedef const MCHAR*(* LibDescriptionProcPtr) () |
Pointer to a function with the following signature: const 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.
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.