This method initializes the module for use and must be called prior to calling any other method (with the exception of the enumComponents() method which may be called prior to initialize()).
- Parameters
-
pwszFilename | [ in ] The file/pathname of the module. It is not possible for the module to determine is name and location on all platforms, so the loader/caller passes this information to the module. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pszFilename is NULL or zero length. |
P6R::eAlreadyInitialized | Initialize has already been called. |
P6R::eDllNotFound | The module was not able to locate the COM runtime module. |
P6R::eDllError | The module found the COM runtime, but is unable to locate a needed function. |