|
Zen API
|
| kStatus kPlugin_ConstructEx | ( | kPlugin * | plugin, |
| const kChar * | path, | ||
| kVersion | requiredPlatform, | ||
| kAlloc | allocator | ||
| ) |
Constructs a kPlugin object.
This constructor runs a platform version check before attempting to load the assembly. The requiredPlatform argument to this function is checked against the plaform version from the plugin's internal assembly. In case of a mismatch kERROR_VERSION will be returned.
| plugin | Destination for the constructed object handle. |
| path | Path to the plugin library. |
| requiredPlatform | Required platform version (or 0 to disable the version check). |
| allocator | Memory allocator (or kNULL for default). |