NI_ERROR_NO_SUCH_FILE = -3,
NI_ERROR_INVALID_PACKAGE = -4,
NI_ERROR_NOT_SUPPORTED = -5,
+ NI_ERROR_CORE_NI_FILE = -6,
NI_ERROR_UNKNOWN = -9
} ni_error_e;
/**
* @brief create native images for platform DLLs (.NETCore + TizenFX)
* @param[i] flags additional flags for the image generator
+ * @return ni_error_e
*/
-void createNiPlatform(DWORD flags);
+ni_error_e createNiPlatform(DWORD flags);
/**
* @brief create a native image for a single DLL
* @param[i] rootPaths paths to directories
* @param[i] count length of rootPaths
* @param[i] flags additional flags for the image generator
+ * @return ni_error_e
*/
-void createNiUnderDirs(const std::string rootPaths[], int count, DWORD flags);
+ni_error_e createNiUnderDirs(const std::string rootPaths[], int count, DWORD flags);
/**
* @brief create native images for all DLLs in a package